Thank you very much. Can't wait to get to work to try it. Will let you know what happens.
Regards, Hnocleland's iPhone On Sep 16, 2011, at 0:18, McKinley <mckinley1...@gmail.com> wrote: > You need the Neo4j proper in your Play lib directory. Here is a Maven > pom.xml file that will take care of that for you. > > **BE CAREFUL** mvn clean will delete all the jars in your lib > folder. Remove > the clean section if you don't want that. > > https://gist.github.com/a3a5106efdaaade10496 > > Run 'mvn initialize' from your Play app directory to copy all jar to > lib. > Run 'mvn clean' to delete them. If you change Neo4j versions you > will want > to run a clean and then initialize. > > Cheers, > > McKinley > > > On Thu, Sep 15, 2011 at 5:10 PM, henry cleland > <hnoclel...@gmail.com> wrote: > >> Hi peter, >> I am tryn to use jo4neo with playframework.... >> firstly, im unable to resolve it as a dependency directly from >> maven, >> >> secondly, with my manually downloaded lib from >> http://jo4neo.googlecode.com/svn/trunk/repo/thewebsemantic/jo4neo/0.4.1/ >> and noe4j from maven, when i try to run my application is it the >> error i >> get: >> >> Internal Server Error (500) for request GET /Rendezvous/index >> >> Oops: NoClassDefFoundError >> An unexpected error occured caused by exception NoClassDefFoundError: >> org/neo4j/index/IndexService >> >> play.exceptions.UnexpectedException: Unexpected Error >> at play.mvc.ActionInvoker.invoke(ActionInvoker.java:255) >> at Invocation.HTTP Request(Play!) >> Caused by: java.lang.NoClassDefFoundError: org/neo4j/index/ >> IndexService >> at jo4neo.impl.ObjectGraphImpl.<init>(ObjectGraphImpl.java:29) >> at jo4neo.impl.ObjectGraphProvider.create(ObjectGraphProvider.java: >> 10) >> at jo4neo.ObjectGraphFactory.get(ObjectGraphFactory.java:36) >> at controllers.Rendezvous.<clinit>(Rendezvous.java:28) >> at sun.misc.Unsafe.ensureClassInitialized(Native Method) >> at play.utils.Java.parameterNames(Java.java:193) >> at play.mvc.ActionInvoker.getActionMethodArgs(ActionInvoker.java:607) >> at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java: >> 475) >> at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java: >> 470) >> at play.mvc.ActionInvoker.invoke(ActionInvoker.java:158) >> ... 1 more >> Caused by: java.lang.ClassNotFoundException: >> org.neo4j.index.IndexService >> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:321) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:266) >> ... 11 more >> >> >> On Thu, Sep 15, 2011 at 9:15 PM, Peter Neubauer < >> peter.neuba...@neotechnology.com> wrote: >> >>> Henry, >>> Anything you can share about jo4neo problems with missing files? I >>> have >>> commit access to the repo... >>> >>> /peter >>> >>> Sent from my phone. >>> On Sep 15, 2011 9:52 PM, "henry cleland" <hnoclel...@gmail.com> >>> wrote: >>>> oh great!!!, >>>> I'll be earnestly looking out for the example. I did hit the wall >>>> with >> my >>>> jo4noe. There is a required file that is not in the package. >>>> and this has been both intellectually stimulating and frustrating. >>>> I do appreciate your advice on manually mapping the classes to >>>> graph >>> models >>>> and i want to try that once again hoping that this time i will be >>>> successful. >>>> I really am looking forward to the example so i know how to >>>> approach my >>>> design. >>>> >>>> On Thu, Sep 15, 2011 at 7:27 PM, McKinley <mckinley1...@gmail.com> >>> wrote: >>>> >>>>> I would be happy to share a Neo4j Play framework app with you. >>>>> I'll >>> isolate >>>>> a small example and post it. jo4neo looks interesting, but it is >>>>> not >> too >>>>> hard to manually map a few classes to a simple graph model and the >>>>> experience will be beneficial. The graph model is of a different >>>>> and >>> finer >>>>> grain than class based OOP and you shouldn't miss the chance for >>>>> that >> to >>>>> stimulate new ideas. >>>>> >>>>> Unfortunately I have too many work deadlines right now, but this >> weekend >>> I >>>>> will post the Play plugin and a sample app. However, I'm always >>>>> happy >> to >>> be >>>>> distracted with Neo4j and Play questions so feel free to ask as >>>>> you >> dive >>> in >>>>> :) >>>>> >>>>> Cheers, >>>>> >>>>> McKinley >>>>> >>>>> On Thu, Sep 15, 2011 at 9:20 AM, henry cleland <hnoclel...@gmail.com >>>>> > >>>>> wrote: >>>>> >>>>>> hiya, >>>>>> thanx for your response. >>>>>> wrapping the models into java classes is a bit challenging for me >> cos >>> i >>>>>> cant get my head around how the persistence layer will handle >>>>>> that. >>> After >>>>>> the post i did a search for a mapper and found jo4neo, and im >>> currently >>>>> tryn >>>>>> to use that. >>>>>> Having challenges with how tho make the model persist. >>>>>> >>>>>> I would be very grateful again if you could give me a small >>>>>> sample >>> model >>>>>> implementation for neo such that the controller can persist it. >>>>>> My guess is i need my User Object and Interface to wrap the >>>>>> object >>> into >>> a >>>>>> node or vice versa but how to store, lookup and retrieve it is my >>>>> challenge. >>>>>> >>>>>> I do strongly wish you reconsider and release your model >>>>>> earlier. or >>> at >>>>> the >>>>>> least i would be very grateful if i could jst view your repo to >>>>>> he >> how >>>>> your >>>>>> handled stuff. >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Neo4j mailing list >>>>> User@lists.neo4j.org >>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, hnocleland >>>> _______________________________________________ >>>> Neo4j mailing list >>>> User@lists.neo4j.org >>>> https://lists.neo4j.org/mailman/listinfo/user >>> _______________________________________________ >>> Neo4j mailing list >>> User@lists.neo4j.org >>> https://lists.neo4j.org/mailman/listinfo/user >>> >> >> >> >> -- >> Regards, hnocleland >> _______________________________________________ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user