我有一个Struts2+spring2+hibernate3的项目,在tomcat下运行没问题,部署到weblogic8下后怎么着都不行,后来在网上查了说是,struts2的包.对于weblogic8自带的jdk1.4不适用,需要转化,于是我就进行了转换,现在的包为
commons-logging-j4-1.0.4.jar
ognl-j4-2.6.11.jar
struts2-core-j4-2.0.11.jar
struts2-spring-plugin-j4-2.0.8.jar
xwork-j4-2.0.4.jar
freeer-j4-2.3.8.jar,可是一运行还是报
Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.等错误!!!请高人不吝赐教!!!!
commons-logging-j4-1.0.4.jar
ognl-j4-2.6.11.jar
struts2-core-j4-2.0.11.jar
struts2-spring-plugin-j4-2.0.8.jar
xwork-j4-2.0.4.jar
freeer-j4-2.3.8.jar,可是一运行还是报
Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.等错误!!!请高人不吝赐教!!!!
<2010-7-22 下午05时30分35秒 GMT+08:00> <Error> <HTTP> <BEA-101165> <Could not l
ad user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatch
r.
Error building results for action findAllSchedule in namespace /schedule - acti
n - file:D:/system/FMS/WEB-INF/classes/struts.xml:16:83
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.ad
Action(XmlConfigurationProvider.java:340)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.ad
Package(XmlConfigurationProvider.java:429)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lo
dPackages(XmlConfigurationProvider.java:239)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackage
(StrutsXmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(Defa
ltConfiguration.java:152)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration
ConfigurationManager.java:52)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(D
spatcher.java:395)禁不止又要对这weblogic骂街了……
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext*.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
检查jar有冲突吗?