随笔分类 - struts2 异常信息
struts2 运行错误
摘要:从svn上检出工程后,感觉工程里的jar包有些老,而且前两天刚刚看到有关struts2不安全的问题,然后就把工程中可以替换的jar包挨个替换了,由于之前没有测试,所以这一替换可是报了一堆的错误啊...待我来一个一个地把它们啃掉吧! The first exception:ERROR 2013-07-22 17:32:38,009 [main] (CommonsLogger.java:38) - Dispatcher initialization failedjava.lang.RuntimeException: java.lang.reflect.InvocationTargetExce...
阅读全文
struts2 注解Action报错
摘要:Action类中配置注解跳转:@Action("sample")@Results({@Result(name = "ssss", location = "/Pages/sample/sampleList.jsp")})public class SampleAction extends ActionSupport { ...... public String allSamples() { log.info("所有样本分页显示"); if (page == null) { page = new Page(10, 1);
阅读全文
struts2 文件上传显示进度条报错
摘要:2013-5-9 15:53:09 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet default threw exceptioncom.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensy
阅读全文
Server Tomcat v6.0 Server at localhost was unable to stat within 45 seconds
摘要:eclipse中Tomcat 启动时报错:...Server Tomcat v6.0 Server at localhost was unable to stat within 45 seconds,If the server requires more time, try increasing the timeout in the server editor....原因: tomcat配置限定了部署的时间,当工程比较大时会出问题解决方案:找到workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件<se
阅读全文
eclipse部署web工程版本报错问题
摘要:Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules原因:tomcat 6最高支持的servlet版本是2.5,而有些eclipse生成的是3.0版本的配置信息处理方法: 1 在项目根目录下的setting文件夹中找到org.eclipse.wst.common.project.facet.core.xml,里面的内容如下: 2 3 <?xml version="1.0" encoding="UTF-8"?> 4 <faceted-p
阅读全文
浙公网安备 33010602011771号