Tag: struts2

docker集装箱运行一台电脑,而不是另一台

我试图通过Docker部署一个WebSphere Liberty应用程序。 我也使用用于UI的Apache Struts。 在本地机器上部署时,我没有任何问题,但是当放在其他机器上时,会报错,说明无法加载struts2filter。 类似乎不会丢失。 为什么这个容器在一台机器上工作,而不是另一台? 堆栈跟踪: [ERROR ] SRVE0321E: The [struts2] filter did not load during start up. Filter [struts2]: could not be initialized [ERROR ] SRVE0315E: An exception occurred: java.lang.Throwable: javax.servlet.ServletException: Filter [struts2]: could not be initialized at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:5027) at [internal classes] Caused by: javax.servlet.ServletException: Filter [struts2]: could not be initialized at […]