Java. Lang. noclassdeffounderror: javax/transaction/transactionmanager only needs one JTA. jar file.

Source: Internet
Author: User
Tags addchild

When I started my computer at work in the morning, I found a problem with the application startup. The prompt was: Java. Lang. noclassdeffounderror: javax/transaction/transactionmanager. So I googled it and it turned out to be missing JTA. jar. It's strange that it was good. Why is it missing today? Is there a problem with eclipse.

 

JTA. jar:

1, http://java.sun.com/products/jta/ download class files, and then package into a jar file, or directly modify the suffix zip to jar

2, csdn download http://download.csdn.net/source/337356

 

The error message is as follows:

  1. Caused:
  2. Java. Lang. noclassdeffounderror: javax/transaction/transactionmanager
  3. At java. Lang. Class. getdeclaredmethods0 (native method)
  4. At java. Lang. Class. privategetdeclaredmethods (class. Java: 2365)
  5. At java. Lang. Class. getdeclaredmethods (class. Java: 1763)
  6. At java. Beans. introspector $ 1.run( introspector. Java: 1265)
  7. At java. Security. accesscontroller. doprivileged (native method)
  8. At java. Beans. introspector. getpublicdeclaredmethods (introspector. Java: 1263)
  9. At java. Beans. introspector. gettargetmethodinfo (introspector. Java: 1129)
  10. At java. Beans. introspector. getbeaninfo (introspector. Java: 387)
  11. At java. Beans. introspector. getbeaninfo (introspector. Java: 159)
  12. At org. springframework. Beans. cachedintrospectionresults. <init> (cachedintrospectionresults. Java: 142)
  13. At org. springframework. Beans. cachedintrospectionresults. forclass (cachedintrospectionresults. Java: 83)
  14. At org. springframework. Beans. beanwrapperimpl. setintrospectionclass (beanwrapperimpl. Java: 239)
  15. At org. springframework. Beans. beanwrapperimpl. setwrappedinstance (beanwrapperimpl. Java: 197)
  16. At org. springframework. Beans. beanwrapperimpl. setwrappedinstance (beanwrapperimpl. Java: 180)
  17. At org. springframework. Beans. beanwrapperimpl. <init> (beanwrapperimpl. Java: 133)
  18. At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. instantiatebean (abstractautowirecapablebeanfactory. Java: 535)
  19. At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. createbean (abstractautowirecapablebeanfactory. Java: 375)
  20. At org. springframework. Beans. Factory. Support. abstractbeanfactory $1. GetObject (abstractbeanfactory. Java: 245)
  21. At org. springframework. Beans. Factory. Support. defaultsingletonbeanregistry. getsingleton (defaultsingletonbeanregistry. Java: 141)
  22. At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 242)
  23. At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 156)
  24. At org. springframework. Beans. Factory. Support. beandefinitionvalueresolver. resolvereference (beandefinitionvalueresolver. Java: 246)
  25. At org. springframework. Beans. Factory. Support. beandefinitionvalueresolver. resolvevalueifnecessary (beandefinitionvalueresolver. Java: 128)
  26. At org. springframework. Beans. Factory. Support. constructorresolver. resolveconstructorarguments (constructorresolver. Java: 332)
  27. At org. springframework. Beans. Factory. Support. constructorresolver. autowireconstructor (constructorresolver. Java: 97)
  28. At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. autowireconstructor (abstractautowirecapablebeanfactory. Java: 578)
  29. At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. createbean (abstractautowirecapablebeanfactory. Java: 371)
  30. At org. springframework. Beans. Factory. Support. abstractbeanfactory $1. GetObject (abstractbeanfactory. Java: 245)
  31. At org. springframework. Beans. Factory. Support. defaultsingletonbeanregistry. getsingleton (defaultsingletonbeanregistry. Java: 141)
  32. At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 242)
  33. At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 156)
  34. At org. springframework. Beans. Factory. Support. beandefinitionvalueresolver. resolvereference (beandefinitionvalueresolver. Java: 246)
  35. At org. springframework. Beans. Factory. Support. beandefinitionvalueresolver. resolvevalueifnecessary (beandefinitionvalueresolver. Java: 128)
  36. At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. applypropertyvalues (abstractautowirecapablebeanfactory. Java: 850)
  37. At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. populatebean (abstractautowirecapablebeanfactory. Java: 624)
  38. At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. createbean (abstractautowirecapablebeanfactory. Java: 411)
  39. At org. springframework. Beans. Factory. Support. abstractbeanfactory $1. GetObject (abstractbeanfactory. Java: 245)
  40. At org. springframework. Beans. Factory. Support. defaultsingletonbeanregistry. getsingleton (defaultsingletonbeanregistry. Java: 141)
  41. At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 242)
  42. At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 156)
  43. At org. springframework. Beans. Factory. Support. defaultlistablebeanfactory. preinstantiatesingletons (defaultlistablebeanfactory. Java: 304)
  44. At org. springframework. Context. Support. abstractapplicationcontext. Refresh (abstractapplicationcontext. Java: 348)
  45. At org. springframework. Web. Context. Support. abstractrefreshablewebapplicationcontext. Refresh (abstractrefreshablewebapplicationcontext. Java: 156)
  46. At org. springframework. Web. Context. contextloader. createwebapplicationcontext (contextloader. Java: 246)
  47. At org. springframework. Web. Context. contextloader. initwebapplicationcontext (contextloader. Java: 184)
  48. At org. springframework. Web. Context. contextloaderservlet. INIT (contextloaderservlet. Java: 83)
  49. At javax. servlet. genericservlet. INIT (genericservlet. Java: 211)
  50. At org. Apache. Catalina. Core. standardwrapper. loadservlet (standardwrapper. Java: 1105)
  51. At org. Apache. Catalina. Core. standardwrapper. Load (standardwrapper. Java: 932)
  52. At org. Apache. Catalina. Core. standardcontext. loadonstartup (standardcontext. Java: 3951)
  53. At org. Apache. Catalina. Core. standardcontext. Start (standardcontext. Java: 4225)
  54. At org. Apache. Catalina. Core. containerbase. addchildinternal (containerbase. Java: 759)
  55. At org. Apache. Catalina. Core. containerbase. addchild (containerbase. Java: 739)
  56. At org. Apache. Catalina. Core. standardhost. addchild (standardhost. Java: 524)
  57. At org. Apache. Catalina. startup. hostconfig. deploydescriptor (hostconfig. Java: 608)
  58. At org. Apache. Catalina. startup. hostconfig. deploydescriptors (hostconfig. Java: 535)
  59. At org. Apache. Catalina. startup. hostconfig. deployapps (hostconfig. Java: 470)
  60. At org. Apache. Catalina. startup. hostconfig. Start (hostconfig. Java: 1122)
  61. At org. Apache. Catalina. startup. hostconfig. lifecycleevent (hostconfig. Java: 310)
  62. At org. Apache. Catalina. util. lifecyclesupport. firelifecycleevent (lifecyclesupport. Java: 119)
  63. At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1021)
  64. At org. Apache. Catalina. Core. standardhost. Start (standardhost. Java: 718)
  65. At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1013)
  66. At org. Apache. Catalina. Core. standardengine. Start (standardengine. Java: 442)
  67. At org. Apache. Catalina. Core. standardservice. Start (standardservice. Java: 450)
  68. At org. Apache. Catalina. Core. standardserver. Start (standardserver. Java: 709)
  69. At org. Apache. Catalina. startup. Catalina. Start (Catalina. Java: 551)
  70. At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
  71. At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
  72. At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 25)
  73. At java. Lang. Reflect. method. Invoke (method. Java: 585)
  74. At org. Apache. Catalina. startup. Bootstrap. Start (Bootstrap. Java: 294)
  75. At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 432)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.