运行servler报错

java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory

java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactory

程序编译通过但是报这个错,网上搜了一下,大部分说是包未正确导入,我的包是导入好的

原因:

(1) 在 \.metadata\.me_tcat7\webapps\baokaov2\WEB-INF\lib 下面 缺少这个包commons-fileupload-1.3.3.jar
(2) tomcat的lib下面缺少这个包commons-fileupload-1.3.3.jar
 

相关文章:

  • 2021-05-10
  • 2021-12-08
  • 2021-04-24
猜你喜欢
  • 2021-07-22
  • 2021-12-10
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案