首先说明一下我的环境情况,IDE使用Eclipse,服务器使用Tomcat7,jdk1.8.

使用的是springmvc框架。

错误为ClassNotFoundException、org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.XXX.XXX] for bean with name 'propertyConfigurer' defined ... 

ClassNotFound一般都是tomcat在生产target文件时没有正确生成导致,webapps中项目的WEB-INF文件夹下classes没有生成class文件。如发生,从以下几方面检查:

1. 项目中是否存在错误,jar包引用错误等;

2. 是否配置自动编译。

如无问题,可以把项目重新一遍部署。

 

相关文章:

  • 2022-12-23
  • 2021-10-03
  • 2022-02-12
  • 2022-02-03
  • 2021-11-27
  • 2022-12-23
  • 2021-07-30
  • 2021-04-14
猜你喜欢
  • 2022-12-23
  • 2021-06-22
  • 2021-10-28
  • 2021-11-14
  • 2022-12-23
  • 2021-10-23
相关资源
相似解决方案