idea 中 springboot 加载log4j 文件 相对路径的问题
时间: 2019-01-11来源:开源中国
前景提要
HDC调试需求开发(15万预算),能者速来!>>>
相同的代码 在eclipse 中正常,在idea 缺不正常 PropertyConfigurator.configure("config/log4j.properties") #启动报错 log4j:ERROR Could not read configuration file [config/log4j.properties]. java.io.FileNotFoundException: config\log4j.properties (系统找不到指定的路径。)
如果把路径写成绝对路径正常

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行