Windows 10 Pro x64 JDK 11.0.6 x64 Spring Tool Suite 4 (did a check for updates, I'm up to date, no errors) Spring Boot 2.2.5 I have a Workspace, it contains 3 projects.
my app (Spring Boot 2.2.5)
Eureka server (Spring Boot 2.2.5)
my test app (Spring Boot 2.2.5)
I start the Eureka server. Then I hit the run button to "my app" and intermittently, it will immediately terminate. The console says nothing but "
This is what I have done so far:
completely uninstall all JDKs and install JDK 11.0.6 completely remove STS4 and all remnants of anything Java related, the .m2 directory, etc. completely removed the workspace and re-created it from scratch from github I've ran Clean Projects countless times I've ran mvnw clean install and mvnw clean package countless times I've got no error messages or nothing, all STS4 tells me is that it terminated.
Seems to be related to spring-cloud-starter-netflix-eureka-client 2.2.2.RELEASE dependency. If I remove that from my POM and comment out the @EnableEurekaClient, then it starts 100% of the time.
One in a million tries, I get the error log (attached). Seems to be a class not found exception.
If I remove the dependency, my app starts 100% of the time no problem.
Comment From: SledgeHammer01
Tried to create an empty project from scratch and added dependencies one by one until I repro'ed the behavior. Seems to be some conflict with Spring Boot 2.2.5 / spring-boot-starter-data-jpa / spring-cloud-starter-netflix-eureka-client 2.2.2.RELEASE
Comment From: OlgaMaciaszek
Hello @SledgeHammer01 can you provide the pom?
Comment From: SledgeHammer01
Hello @SledgeHammer01 can you provide the pom?
Hi, I think we can close here. Seems to be an Eclipse/STS issue instead.