Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jetty doesn't start from WTP plugin

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:

  1. JDK 1.6.0
  2. jetty 8.0.0.M2
  3. jetty-wtp

How can I solve this?

like image 554
user550748 Avatar asked Apr 14 '26 07:04

user550748


1 Answers

Try adding the JTA API to your classpath. You can download from the java.net Maven repo at

http://download.java.net/maven/2/javax/transaction/jta/
like image 164
Uriah Carpenter Avatar answered Apr 20 '26 00:04

Uriah Carpenter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!