Trouble Shooting When I am using implementation 'org.springframework.boot:spring-boot-starter-data-jpa' library, and I get below error when project build. Caused by: java.lang.NoClassDefFoundError: org/springframework/context/index/CandidateComponentsIndexLoader at org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager.setResourceLoader(DefaultPersistenceUnitManager.ja..
Trouble Shooting I got ConsistencyException this message during spark job, ERROR yarn.ApplicationMaster: User class threw exception: com.amazon.ws.emr.hadoop.fs.consistency.exception.ConsistencyException: Directory 'path_name/datetime=20190916' present in the metadata but not s3After searching google, some people resolved with emrfs command emrfs delete s3://pathBut I can't do emrfs ..
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..