【已解决】applicationContext.xml cannot be opened because it does not exist
生活随笔
收集整理的這篇文章主要介紹了
【已解决】applicationContext.xml cannot be opened because it does not exist
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
原因:target中沒有生成相對(duì)應(yīng)的文件夾
解決辦法:
1、在pom.xml中加入如下代碼:
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration><testFailureIgnore>true</testFailureIgnore></configuration></plugin></plugins></build>2、重新加載pom.xml
成功解決!
總結(jié)
以上是生活随笔為你收集整理的【已解决】applicationContext.xml cannot be opened because it does not exist的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【已解决】Class not found
- 下一篇: 【已解决】surefire-report