当前位置:
代码迷
>>
Java Web开发
>> 怎么修改配置文件的加载路径
详细解决方案
怎么修改配置文件的加载路径
热度:
17
发布时间:
2016-04-13 22:17:04.0
如何修改配置文件的加载路径
今天在运行maven项目时,新建了一个配置文件,可是加载配置文件时时只在resources中加载,显示为找不到,应该怎么进行配置呢?
------解决思路----------------------
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/xxx.xml</param-value>
</context-param>
不知道你需要的配置文件是不是这样的?
相关解决方案
企业搬动应用平台-配置文件
dwr 2.0兑现网页消息发送(配置文件)
配置文件(fckconfig.js)中主要配置项目如上
c3p0 配置文件 寄放路径
myEclipse8.5调整SSH详细步骤+配置文件
怎么利用 myeclipse 生成Hibernate 配置文件
ThinkPHP数据模板展示——系统变量、常量、配置文件
ehcache 配置文件: ehcache.xml
Spring 配置文件</bean>详解
Emacs 配置文件
struts2.0 配置文件、常量配置详解
proguard.cfg 配置文件
python config.yaml(配置文件)的使用
[Hacking VIM] 2.定制:配置文件
配置文件 application.yml注意事项(Failed to load property source from location 'classpath:/application.yml)
SpringBoot核心技术-配置文件
IIS 配置文件
Redis 之二:配置文件