如图:

异常:java.lang.ClassNotFoundException

说明缺少相应的包(或者类),上图就是缺少commons-logging-1.2的jar包,导入即可

异常:java.lang.ClassNotFoundException

补充,在maven项目中, 可能是版本不兼容, 因为不同版本相关的jar内里面的类可能不同,这个也要注意一下.

相关文章:

  • 2021-07-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-11-06
  • 2021-11-20
猜你喜欢
  • 2021-12-29
  • 2021-10-16
  • 2022-12-23
  • 2021-09-15
  • 2021-11-15
  • 2022-01-23
  • 2021-11-24
相关资源
相似解决方案