NoClassDefFoundError in web application running on Tomcat 7

前端 未结 4 417
面向向阳花
面向向阳花 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 12:57

    I have resolved this issue by adding the Tomcat Server into the Java Build Path in eclipse.

    Right click on the project -> Build Path -> Configure Build Path -> Add library..(appears on the right side of the dialog box) -> Server Runtime -> Select "Apache Tomcat v.." -> Finish

    Then run the project on the server.

提交回复
热议问题