Micro service project (not Springboot) start the error, can guarantee that the code no problem (or start OK yesterday, code 0 changes), want to know what is the environmental problems caused by,
Here are all startup log:
15:15:37: Executing task 'LabelApplication. The main ()'...
Starting Gradle Daemon...
Connected to the target VM, address: '127.0.0.1:52731, transport:' socket '
Gradle Daemon started 1 s in 290 ms
Task: compileJava
Task: processResources
Task: classes
Connected to the VM is started by the ': LabelApplication. The main ()' (localhost: 52742). Open the debugger session TAB
Task: LabelApplication. The main () FAILED
3 the actionable tasks: 3 executed
Error: cannot find or unable to load the main class com. The eps. Label. LabelApplication
FAILURE: the Build failed with an exception.
* What went wrong:
Execution failed for task ': LabelApplication. The main ()'.
The Process 'command' C:/Program Files/Java/jdk1.8.0 _91/bin/Java. Exe 'finished with non - zero exit value 1
* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output. The Run with -- scan to get full insights.
* Get more help at https://help.gradle.org
The BUILD FAILED in 5 s
Disconnected from the target VM, address: '127.0.0.1:52731, transport:' socket '
15:15:43: Task execution finished 'LabelApplication. The main ()'.
CodePudding user response:
Command line to start the next see whether there is a problem, usually under the proposed to the idea of cache clearing and try againCodePudding user response: