javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class org.springframework.web.struts.ContextLoaderPlugIn: java.lang.ClassCastException: org.springframework.web.struts.ContextLoaderPlugIn
解决方案 »
- 看到的朋友可不可以给点意见
- struts2问题 望高手解决
- 问个问题哈,在java里谁会用jawin调用C#生成的dll文件
- hibernate 带参数查询无结果,不带参数正常
- 在eclipes布署项目的时候出的问题&&&&&&&
- struts连数据库奇怪问题
- 非常奇怪double相加,会出现不准确的小数位,怎么解决?
- 解析一个xml文件时报错:org.xml.sax.SAXParseException: Invalid encoding name "GBK".请问高手这是什么原因?
- 编码转换的问题
- request 跳转出现500状态码错误
- 为什么用Sping?
- 有的朋友发一套J2EE的教程!
你的Struts是Struts1还是Struts2,两个配置是不一样的Struts2不需要org.springframework.web.struts.ContextLoaderPlugIn这个配置,我以前就被误导了
<set-property property="contextConfigLocation" value="classpath:applicationContext.xml"/>
</plug-in>
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="" />
</plug-in>
我估计是类似上面struts-config.xml的配置中,property的name和你配的value类型不匹配