在今天处理依赖冲突的时候, 我选择换maven版本。在确定重新将maven导入正确,刷新maven没有错误之后。我的启动类报红。我不能理解,我以为是缓存的问题重新build一下,出现:
Cannot start compiler: the SDK is not specified for modules
"eureka-server",
"user-service",
"order-service".
Specify the SDK in the Project Structure dialog.
我顿悟了,是JDK配置出现问题。重新配置好。项目正常启动了