我有一个客户端请求连接到adfs服务器的应用程序。不幸的是,这个应用程序使用的是servlet技术。JDK1.8Tomcat7。根据github-repo-ms的说法,我可以做到这一点。我克隆了这个repo并满足了所描述的先决条件(jdk14、maven3、tomcat9)。这个应用程序可以工作,但有一个大问题。每当我运行这个tomcat时,日志都会被错误填充。最糟糕的是,当我在同一个tomcat中运行另一个应用程序时,我看到来自这个repo应用程序的错误,尽管我已经取消了它的部署。这是一个错误的例子
02-Dec-2020 15:01:09.215 SEVERE [http-nio-8080-exec-8] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception
java.lang.StackOverflowError
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:337)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:580)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:516)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:219)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at javax.servlet.ServletResponseWrapper.isCommitted(ServletResponseWrapper.java:190)
at javax.servlet.ServletResponseWrapper.isCommitted(ServletResponseWrapper.java:190)
at javax.servlet.ServletResponseWrapper.isCommitted(ServletResponseWrapper.java:190)
at javax.servlet.ServletResponseWrapper.isCommitted(ServletResponseWrapper.java:190)
at javax.servlet.ServletResponseWrapper.isCommitted(ServletResponseWrapper.java:190)
如果有人知道这方面的情况,我将不胜感激。谢谢您。
暂无答案!
目前还没有任何答案,快来回答吧!