Java datasource-cfg.properties文件被放置在资源文件夹中,但我仍然在eclipse中得到文件not found exception
我正在使用:Java datasource-cfg.properties文件被放置在资源文件夹中,但我仍然在eclipse中得到文件not found exception,java,spring-mvc,spring-security,spring-jdbc,Java,Spring Mvc,Spring Security,Spring Jdbc,我正在使用: Eclipse 4.6(霓虹灯) SpringMVC4.x SpringSecurity 4.x SpringJDBC4.x (注释配置) 我得到以下例外情况: java.io.FileNotFoundException: class path resource [datasource-cfg.properties] cannot be opened because it does not exist 我只将其保存在Java资源文件夹中,但仍引发相同的异常
- Eclipse 4.6(霓虹灯)
- SpringMVC4.x
- SpringSecurity 4.x
- SpringJDBC4.x
- (注释配置)
java.io.FileNotFoundException: class path resource [datasource-cfg.properties] cannot be opened because it does not exist
我只将其保存在Java资源文件夹中,但仍引发相同的异常