Thanks Tobias, I dont believe I have this on my runtime classpath, I'll include 
it now.

> From: tobias.ivars...@neotechnology.com
> Date: Thu, 7 Apr 2011 08:06:51 +0200
> To: user@lists.neo4j.org
> Subject: Re: [Neo4j] CNFE in Neo4j Server
> 
> The simplest explanation is probably the correct one: it is not on the
> classpath.
> This class is to be found in the jersey-server-1.3.jar is that jar on the
> classpath? (or in jersey-client-1.3.jar, either will do)
> 
> The simplest way one might be fooled into not including it in the classpath
> is due to there not being a compile-time dependency on it. the JAX-RS API
> does not require an implementation for compiling, but at runtime you must
> have a valid JAX-RS implementation available on the classpath. The default
> implementation is the one defined by com.sun.ws.rs.ext.RuntimeDelegateImpl,
> a class that jersey provides, being the reference implementation.
> 
> -tobias
> 
> On Thu, Apr 7, 2011 at 7:19 AM, Peter Neubauer <
> peter.neuba...@neotechnology.com> wrote:
> 
> > Hi there,
> > trying to execute
> >
> > https://github.com/peterneubauer/neo4j-gremlin-plugin/blob/master/src/test/org/neo4j/server/plugin/gremlin/GremlinPluginTest.java
> > as a JUnit test on Eclipse/Mac with default JDK, Saikat is getting the
> > following:
> >
> >
> > java.lang.ExceptionInInitializerError
> >   at
> > org.neo4j.server.rest.repr.formats.JsonFormat.<init>(JsonFormat.java:43)
> >   at
> > org.neo4j.server.plugin.gremlin.GremlinPluginTest.setUpBeforeClass(GremlinPluginTest.java:37)
> >   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >   at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >   at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >   at java.lang.reflect.Method.invoke(Method.java:597)
> >   at
> > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
> >   at
> > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> >   at
> > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
> >   at
> > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
> >   at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
> >   at
> > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
> >   at
> > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> >   at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> >   at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> >   at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> >   at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> > Caused by: java.lang.RuntimeException:
> > java.lang.ClassNotFoundException:
> > com.sun.ws.rs.ext.RuntimeDelegateImpl
> >   at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
> >   at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
> >   at javax.ws.rs.core.MediaType.<clinit>(MediaType.java:44)
> >   ... 17 more
> > Caused by: java.lang.ClassNotFoundException:
> > com.sun.ws.rs.ext.RuntimeDelegateImpl
> >   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> >   at java.security.AccessController.doPrivileged(Native Method)
> >   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> >   at java.lang.Class.forName0(Native Method)
> >   at java.lang.Class.forName(Class.java:169)
> >   at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62)
> >   at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
> >   at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)
> >   ... 19 more
> >
> > Any clues on why there is a class missing?
> >
> > Cheers,
> >
> > /peter neubauer
> >
> > GTalk:      neubauer.peter
> > Skype       peter.neubauer
> > Phone       +46 704 106975
> > LinkedIn   http://www.linkedin.com/in/neubauer
> > Twitter      http://twitter.com/peterneubauer
> >
> > http://www.neo4j.org               - Your high performance graph database.
> > http://startupbootcamp.org/    - Ă–resund - Innovation happens HERE.
> > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
> > _______________________________________________
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> 
> 
> 
> -- 
> Tobias Ivarsson <tobias.ivars...@neotechnology.com>
> Hacker, Neo Technology
> www.neotechnology.com
> Cellphone: +46 706 534857
> _______________________________________________
> 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

Reply via email to