在eclipse的web工程中,导入jar包时,常会遇见这问题
Classpath entry *.jar will not be exported or published. Runtime ClassNotFoundExceptions may result.
这错误的意思是jar包不会导出或发布
错误产生原因:BuildPath中的jar包为外部导入或者非WEB-INF目录下的lib文件夹导入导致
解决方案
将需要引用的jar包复制到WEB-INF中的lib目录下,并右击jar包,选中Build Path中进行Add to Build Path操作
这样问题就解决了