Servlet : SEVERE: Allocate exception for servlet

前端 未结 11 1762
故里飘歌
故里飘歌 2021-02-06 03:38

The following stacktrace is what I get when i try to access a servlet, which seems running fine from Tomcat manager.

11 Sep, 2012 11:50:12 AM org.apache.catalin         


        
11条回答
  •  天涯浪人
    2021-02-06 04:17

    "java.lang.Error: Unresolved compilation problems: "

    says that application is not compiled properly. Please put the servlet-api.jar in classpath, not just in lib folder of project, but also attach that to classpath.

    Please make sure that same jar also available in tomcat/common/lib folder.

提交回复
热议问题