昨天还用的好好的,今天新建一个项目后就开始报错。
郁闷至极,找了好多文章,花了5个小时。到现在,终于因apache的一封读者来信(mailing list),有种醍醐灌顶的感觉。
我把struts的jar包放到了自定义名字的folder里,结果导出的war包里也有,而不像网上所说的里面没有。
贴解答如下:
2010/4/2 sandeep kotha <sandeep4u.kotha@gmail.com>: > In-spite of having *struts2-core-2.1.8.1.jar *under > /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error . Is that /WEB-INF/lib/struts-2.1.8.1/ a directory ??? ^^^^^^^^^^^^^^^^^ If so, your jars cannot be found, move them to /WEB-INF/lib as is specified by servlet specification! Regards
![吐舌头](http://static.blog.csdn.net/xheditor/xheditor_emot/default/tongue.gif)