NoClassDefFoundError in spring

后端 未结 2 855
长情又很酷
长情又很酷 2021-01-22 01:24

I wrote a Spring application which runs on Weblogic 10.3. In this application I have some JMS Queue consumers.

Sometimes I got an error when the application is closing

相关标签:
2条回答
  • 2021-01-22 02:10

    That Exception means that the class is not getting loaded into the JVM. Make sure that the spring.jar is in the Weblogic server's classpath or library folder.

    0 讨论(0)
  • 2021-01-22 02:29

    It's all very well that you have this class in your war, but in Weblogic, the war has its own classloader. Since your stack trace shows a JMS listener, I'd ask: where is the listener? If it's in the war, then you have a mystery. But it sure looks as though it's somewhere else, and it's that somewhere else that would be missing this Spring class.

    0 讨论(0)
提交回复
热议问题