Trouble Shooting This error happens on bootJar job. Execution failed for task ':bootJar'. > Main class name has not been configured and it could not be resolvedThis is because there is no main class in DAO package. (in My case) In my case, just add one line in dao/build.gradle, and fixed. bootJar.enabled = falseBut, if there is exist main class, just set main class in build.gradle like b..
Trouble Shooting I have created initial project and I get DataSourceBeanCreationException Task :common-service:test FAILED com.iamfullstack.common.CommonApplicationTests > contextLoads FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework...

1. Using existing Homepage https://start.spring.io/ - Setting Project, Language, spring boot version, and dependency - Click Generate the project to download with .Zip and unzip as folder - Open folder with Development tool(like IntelliJ, Eclipse) 2. Using IntelliJ - Go File -> New -> Project - Choose Spring Initializr - Choose Type, Language, dependency - create Project Automatically And https:..