-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated application won't start with springBootVersion-3.1.3
; throws java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
#23327
Comments
JHipster has completed the sample check |
@anothergoodguy I think you must use |
@qmonmert we have |
here are some observations:
and the result:
|
@anothergoodguy Did you build locally jhipster bom and generator projects? |
no @DanielFran I dont have the bom project locally, I have generator locally and am using the generator by building the docker image locally. |
@anothergoodguy Can you confirm this is still happening? |
@DanielFran I confirm, but this is strange |
hey @DanielFran, Gradle outout:
Maven output:
|
opps looks like I overlooked that the app didn't start in maven either but looks like a different issue, sharing it here thinking these might be classpath corrections:
|
Both errors are related to version conflicts. Which may be fixed (or caused) by transitive dependencies. If it’s not reproducible in main using a current jhipster-bom snapshot we should close the issue. |
I tested it on a setup with both |
@anothergoodguy the original issue is not reproducible anymore. |
Overview of the issue
Hi
I have used the attached .yo.rc.json to generate a sample app to validate 3.1.3 introduction. after building the application with
./gradlew clean -Pdev bootJar
the application wont start withjava -jar build/libs/sample-rest-0.0.1-SNAPSHOT.jar
Here is the error I get:
[email protected] /home/jhipster/app/biskate/tm-trial
└── [email protected]
The text was updated successfully, but these errors were encountered: