struts2 学习笔记

今天开始struts2学习,记录自己学习期间遇见问题以及自身感受过程。(*^__^*) ……
弄个简单struts2 sample启动服务相关的Exception

导入如下5个jar
freemarker-x.x.x.jar;   
ognl-x.x.x.jar;
struts2-core-x.x.x.jar;    
xwork-core-x.x.x.jar;
commons-logging-x.x.x.jar

1.严重: Dispatcher initialization failed
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

缺少包:javassist-x.x.x.GA.jar

2.严重: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

缺少包:commons-lang3-x.x.jar

3.警告: Could not create JarEntryRevision for [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/struts/WEB-INF/lib/struts2-core-2.3.12.jar]!
java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils

缺少包:commons-io-x.x.x.jar

4.严重: Dispatcher initialization failed
Caused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.RequestContext

缺少包:commons-fileupload-x.x.x.jar


猜你喜欢

转载自gevaudan5237.iteye.com/blog/1841677
今日推荐