I’m getting a little trouble when I want to run my application, once I have created my Jar, The error that I’m getting is like I have written above in the topic.
Where sub project lab-myapp-starter is my spring boot context and this is I want to run. When I run the application from my IDE IntelliJ the applicatio. works and process all requests, but When I have created my jar and It tries to run the application with Jar I haven’t could.
If you absolutely need to do something manually, you should use configurations.runtimeClasspath instead of configurations.runtime (runtime is deprecated and might not always be complete).
Before, I want to be completely clear in my question, for that I say you the next:
My main issue is that I haven’t could to run my application from command line after of I have created an executable JVM application, the error that I’m getting is “It hasn’t been found or loaded the main class”.
I don’t know that I have something wrong in my gradle configuration, is for this reason I showed you the gradle build, in order to, you can see any error and you can say me any solution or give me any guide about my issue.
In the other hand, If my problem could be solving with your suggest, Could you give me a little more information or show me an example about how I can to implement the plugin application?