eclipse oxygen环境:
- 项目名报红叉,文件无错误提示:
– 打开window-》show view添加problems的视图
– 查看出现的错误
Description:Resource Path Location Type
Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project… from the project context menu or use Quick Fix. ssmweb line 1 Maven Configuration Problem
截图:![]()
解决方法:项目右键maven-》update project选择需要更新的项目即可。回去界面看到红色错误消失。
- 出现创建sqlSessionFactory的错误:
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springfram