版本:
gradle 4.8.1
JDK 1.8.0_171
Spring spring-framework-5.0.2.RELEASE
代码已经导入idea了,然后报错如下
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.8.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
错误: 找不到或无法加载主类 C:\develop\java\jdk1.8.0_171
你有检查过你的环境变量设置吗?
你也可以试下清除下缓存
在File下的Invalidate Caches/Restart 选择Invalidate and Restart 清除掉缓存,然后再启动
希望能够帮助到您
感觉大概率是环境变量没有设置