maven项目,之前跑的挺好的,今天打开突然applicationContext.xml文件和springMVC.xml文件报以Build path is incomplete.开头的错误。
后来在Stack Overflow上面找到解决办法
For those encountering this error while using Maven:
- Right click on the project, Build Path -> Configure Build Path...
- Select the libraries tab. If Maven dependencies is not in the list, you have identified the problem.
- Close the dialog.
- Right click on the project, Maven -> Disable Maven Nature
- Right click on the project, Configure -> Convert to Maven Project.
终于知道为什么Stack Overflow被推崇了,解决问题稳准狠。
顺便给新手推荐一个无意中发现的Java网站,感觉超级适合入门级的Java开发,
基础知识写的挺好,练手项目也很丰富很,基本都是文档形式指导,简明易懂,不像视频一样费时间。
地址是http://how2j.cn?p=24192