ClassNotFoundException/NoClassDefFoundError in my Java web application

后端 未结 3 1128
小鲜肉
小鲜肉 2020-11-27 07:40

I developer a web application using Java. When I deploy it to my application server (Jetty, Tomcat, JBoss, GlassFish, etc.) throws an error. I can see this error message in

3条回答
  •  悲&欢浪女
    2020-11-27 08:28

    Same problem happen with me.

    Might be possible one of your libraries are using some classes internal which is not available

    in your lib or maven dependency pom.xml.

    Thats means you have analyze your error logs and identify these classes and then import all dependencies in maven or lib folder.

    I have fixed this error by the same way.

    because some of my libraries are using activation.jar and json.jar internally.

提交回复
热议问题