maven项目迁移环境遇到的问题总结

1、提示@Override报错

原因:properties-java compiler-选择编译jdk为1.6+

2、记得修改项目编码

3、maven依赖包不自动部署

原因:properties-myeclipse-deployment assembly-add-java build path entries-maven dependencies-ok

4、启动时Initializing Spring root WebApplicationContext卡住

原因:数据库连接不上,检查数据库配置

猜你喜欢

转载自shuzheng5201314.iteye.com/blog/2235809