When I start Jetty server in Eclipse (using the jetty-wtp plugin) the console output this error message:
Caused by: java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
My installed environment is:
- JDK 1.6.0
- jetty 8.0.0.M2
- jetty-wtp
How can I solve this?
Try adding the JTA API to your classpath. You can download from the java.net Maven repo at