- https://start.spring.io/
在线生成spring boot项目,可以配置基本的框架。
- 直接导入到eclipse中出现pom第一行报错,没有提示错误的理由。
解决方法:https://stackoverflow.com/questions/37555557/m2e-error-in-mavenarchiver-getmanifest
选择了设置maven-jar-plugin.version版本。
- eclipse安装lombok失败,在github上也要很多关于这个问题的讨论。https://github.com/rzwitserloot/lombok/issues/1056。解决办法,有许多人切换lombok的版本成功,我也选择了一个旧的版本1.6.2,于是eclipse打开项目不再报错误。
- Syntax error, annotations are only available if source level is 1.5 or greater。这个错误很明显是jre,jdk版本的问题,在eclipse中设置javacompiler下的版本,选择1.5以及以上版本。
- eclipse无法自动补全代码:https://jingyan.baidu.com/album/d45ad148b214a969552b8001.html?picindex=2
从前端暂时出走到spring boot遇到的问题
原文:https://www.cnblogs.com/Jamie1032797633/p/11147584.html