NoClassDefFoundError in web application running on Tomcat 7

前端 未结 4 445
面向向阳花
面向向阳花 2021-01-02 12:46

I have web application written in Java using gucie-servlet framework being built by Maven 3. When I deploy it on Tomcat 7 container and try to access it using browser, Tomca

4条回答
  •  我在风中等你
    2021-01-02 13:16

    The root cause may be the maven-war-plugin has been configured as the

    
        
            
                true
                lib/
            
        
    
    

    The above configuration is for Creating Skinny WARs which refers all war libs to the ear/lib instead.

    Please try to remove all of them from the maven-war-plugin configuration. Then build and deploy to the Tomcat again.

    I hope this may help.

提交回复
热议问题