上网下载了一个struts2 demo,运行不起来,报Could not create JarEntryRevision for。
还有Unable to load configuration.。
我怀疑jar包邮问题,点击发现jar不能点开,报failed to load main-class manifest attribute from
.........../struts2-core-2.2.1.jar声明jar包全我上网查了下,说jar包里的manifest 里加上main-class ,这些都是在官方网站上下载的jar包,怎么可能开发的时候一个一个改啊,所有可能不是正解,所以开篇求救,谢谢。
还有Unable to load configuration.。
我怀疑jar包邮问题,点击发现jar不能点开,报failed to load main-class manifest attribute from
.........../struts2-core-2.2.1.jar声明jar包全我上网查了下,说jar包里的manifest 里加上main-class ,这些都是在官方网站上下载的jar包,怎么可能开发的时候一个一个改啊,所有可能不是正解,所以开篇求救,谢谢。
是因为你的解压软件有问题。
ognl-2.6.11.jar
standard.jar
struts2-core-2.0.11.jar
struts-core-1.3.5.jar
xwork-2.0.4.jar
http://darkranger.javaeye.com/category/59243通过这个你学起来觉得没问题。