Could not open ServletContext resource [/database.properties]

报错代码:

org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/database.properties]

显示无法打开database.properties

Could not open ServletContext resource [/database.properties]
+一个classpath:
Could not open ServletContext resource [/database.properties]
就ok了

上一篇:MYSQL主从配置同步历史数据


下一篇:Linux安装DB2数据库