我以前习惯myeclipse,最近我使用Eclipse,我喜欢在web-inf中进行lib排序。但是现在当我这样做时,背景说找不到jar包。我检查tomcat中的webapps目录,它与myeclipse do相同,我的tomcat是7.0。
为什么会这样?感谢您的回答。
答案 0 :(得分:0)
请在Build Path.even中添加jar,虽然您已复制到WEB-INF中,但您需要使用添加引用
Right Click Project in eclipse-->Properties-->Java Build Path-->Libraries
选项卡并添加外部jar并对所需的jar进行引用。