class path resource [log4j.properties] cannot be resolved to URL because it does not exist
生活随笔
收集整理的這篇文章主要介紹了
class path resource [log4j.properties] cannot be resolved to URL because it does not exist
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
從svn上拉代碼,然后在導(dǎo)進(jìn)eclipse,啟動(dòng)Tomcat,報(bào)錯(cuò)
Invalid 'log4jConfigLocation' parameter: class path resource [log4j.xml] cannot be resolved to URL because it does not exist
解決方案:
項(xiàng)目名右鍵--》屬性--》Java build path--》source? 看看文件是否都添加進(jìn)去了,如果沒(méi)有點(diǎn)擊 add folder添加
總結(jié)
以上是生活随笔為你收集整理的class path resource [log4j.properties] cannot be resolved to URL because it does not exist的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 使用spring boot+shiro+
- 下一篇: Java实现图片转PDF