Community
Participate
Working Groups
I get the following stack trace when trying to start the server with a Dynamic Web Project. java.lang.reflect.InvocationTargetException 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.eclipse.jetty.start.Main.invokeMain(Main.java:485) at org.eclipse.jetty.start.Main.start(Main.java:626) at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:275) at org.eclipse.jetty.start.Main.main(Main.java:82) Caused by: java.lang.NoClassDefFoundError: javax/transaction/UserTransaction at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructors(Class.java:1459) at org.eclipse.jetty.xml.XmlConfiguration.newObj(XmlConfiguration.java:630) at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:262) at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:220) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1007) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:983) ... 8 more Caused by: java.lang.ClassNotFoundException: javax.transaction.UserTransaction 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) ... 17 more
sorry dave, was this with eclipse distro or with hightide?
(In reply to comment #1) > sorry dave, was this with eclipse distro or with hightide? Eclipse distro. 7.1.6 seemed to work. Also, similar error with hightide.
(In reply to comment #2) > (In reply to comment #1) > > sorry dave, was this with eclipse distro or with hightide? > > Eclipse distro. > > 7.1.6 seemed to work. > > Also, similar error with hightide. Correct that, 7.2 worked.
closing as this works for the latest released versions of jetty