Home > Back-end >  The idea of gradle environmental services start an error
The idea of gradle environmental services start an error

Time:04-20



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 again

CodePudding user response:

reference 1st floor maradona1984 response:
command line to start the next see whether there is a problem, usually under the proposed to the idea of cache clearing try again

Clear the cache and restart the computer, or even to build the project, all not line,

CodePudding user response:

Error: cannot find or unable to load the main class com. The eps. Label. LabelApplication

How do you pack, startup, the feeling is packaged when com. Eps. Label. There is something wrong with LabelApplication
  • Related