![]() |
1
1
您应该将财产文件放在webapp的src/main/resources目录中。然后,Maven(我假设您正在使用Maven)会将此文件复制到您的WEB-INF/classes目录中,并将其放在类路径中。如果你按照@arahant的答案,一切都会好起来的。 |
![]() |
2
0
这个
如果您使用的是SpringMVC 3,可以使用
这里我的email.properties位于WEB-INF目录中,因此../在文件名之前 util架构位于 http://www.springframework.org/schema/util/spring-util-3.0.xsd |
![]() |
Mayur · maven项目中找不到文件异常找不到xml文件 3 年前 |
![]() |
Mayur · 我试图导入(import org.springframework.context.ApplicationContext),但它给了我错误org。Sprigframew无法解决 3 年前 |
![]() |
Pasha · 如何在@RequestBody中传递2个对象? 7 年前 |
![]() |
Halil · Spring MVC-有条件返回html内容或模板内容 7 年前 |
![]() |
M.K · 实现easy REST服务的问题-Spring MVC 7 年前 |