You can encounter the following error when you try to execute a 'bootRun' task:
* What went wrong:
Execution failed for task ':findMainClass'.
> Unable to find a single main class from the following candidates [com.izeye.app1.Application, com.izeye.app2.Application]
Add the following line in your 'build.gradle':
mainClassName = "com.izeye.app1.Application"
No comments:
Post a Comment