Tag: weblogic12c

在WebLogic 12.1.3上部署应用程序时,出现“找不到Struts调度程序”错误

在尝试在WebLogic 12.1.3上运行我的应用程序时出现以下错误。 Struts调度程序找不到。 这通常是由于使用没有关联filter的Struts标签造成的。 Struts标签只有在请求通过它的servletfilter时才可用,它初始化这个标签所需的Struts调度器。 这是我的web.xml文件: <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:web="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>SybUI</display-name> <!– location of log4j config file –> <!– <context-param> <param-name>log4jConfigLocation</param-name> <param-value>/WEB-INF/classes/log4j2.xml</param-value> </context-param> –> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter </filter-class> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param> <listener> <listener-class> org.springframework.web.util.Log4jConfigListener </listener-class> </listener> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <listener> <listener-class>org.springframework.web.context.request.RequestContextListener </listener-class> </listener> <!– <filter> <filter-name>SessionFilter</filter-name> <filter-class>com.syb.core.filter.SessionFilter</filter-class> […]