缺少common-pooljar包和common-Collection jar包
在连接mysql中db.property配置文件中jdbc.user=root 后面不写分号 否则出现access denied for user 'root'@'localhost'(using password:YES)错误
jdbc.jdbcUrl=jdbc:mysql:///spring?characterEncoding=utf8&useSSL=true
struts2
struts2.3升级到struts2.5后报错 复制代码 <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> 复制代码 颜色部分按照以下规则修改 新: org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter org.apache.struts2.dispatcher.filter.StrutsExecuteFilter org.apache.struts2.dispatcher.filter.StrutsPrepareFilter org.apache.struts2.dispatcher.listener.StrutsListener org.apache.struts2.result.ServletRedirectResult com.opensymphony.xwork2.interceptor.ValidationAware 旧: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter org.apache.struts2.dispatcher.ng.listener.StrutsListener org.apache.struts2.dispatcher.ServletRedirectResult com.opensymphony.xwork2.ValidationAware