Servlet Action is not available 错误的其他可能原因和解决方法
2008-11-03 18:36
465 查看
今天碰到了这个错误,不能解决。。没办法只好把
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml" />
</plug-in>从Struts-Config.xml中移除,在web.xml中加入了
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<servlet>
<servlet-name>context</servlet-name>
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>调试的时候发现了错误,Myeclipse在部署的时候没有把一些类库添加到lib里面(我的是jboss-j2ee.jar )。手动复制下。
解决后,再改回来就没问题了。
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml" />
</plug-in>从Struts-Config.xml中移除,在web.xml中加入了
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<servlet>
<servlet-name>context</servlet-name>
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>调试的时候发现了错误,Myeclipse在部署的时候没有把一些类库添加到lib里面(我的是jboss-j2ee.jar )。手动复制下。
解决后,再改回来就没问题了。
相关文章推荐
- Servlet Action is not available 错误的其他可能原因和解决方法
- servlet web.xml配置好以后还会出现 the requested resource is not available错误的可能原因
- HTTP Status 404 - Servlet action is not available 解决方法[转]
- Servlet action is not available 终于找到了错误原因
- hibernate xxx is not mapped 错误原因及解决方法
- Struts集成Spring出错:Servlet action is not available 的解决
- Struts2.5动态方法调用 错误Messages:This method: edit for action product is not allowed!解决方法
- Servlet action is not available异常解决
- Struts集成Spring出错:Servlet action is not available 的解决
- Struts集成Spring出错:Servlet action is not available 的解决
- Servlet action is not available 又一原因
- 烦人的错误HTTP Status 404 - Servlet action is not available
- Struts集成Spring出错:Servlet action is not available 的解决
- Messages:This method: edit for action XXX is not allowed!-Struts2.5动态方法调用错误解决方法
- Struts集成Spring出错:Servlet action is not available 的解决
- Servlet action is not available 问题解决
- ssh集成过程中针对Servlet action is not available的解决办法
- 整合Spring+Hibernate+Struts时抛Servlet action is not available异常解决
- hibernate xxx is not mapped 错误原因及解决方法
- jQuery is not defined 错误原因与解决方法小结