Skip to content
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

Does not start #34

Open
xpmatteo-tw opened this issue Mar 1, 2024 · 0 comments
Open

Does not start #34

xpmatteo-tw opened this issue Mar 1, 2024 · 0 comments

Comments

@xpmatteo-tw
Copy link

The project cannot run; it stops with

[ERROR] Source option 6 is no longer supported. Use 8 or later.
[ERROR] Target option 6 is no longer supported. Use 8 or later.

If you change the version to 1.8 in the pom.xml, it fails because of

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [/Users/matteo/Documents/work/dojo/2024-03-01-thymeleaf-pet-clinic/thymeleafexamples-petclinic/target/classes/org/springframework/samples/petclinic/service/ClinicService.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [/Users/matteo/Documents/work/dojo/2024-03-01-thymeleaf-pet-clinic/thymeleafexamples-petclinic/target/classes/org/springframework/samples/petclinic/service/ClinicService.class]; nested exception is java.lang.IllegalArgumentException

I tried with openjdk version 8, 11 and 21. Same results.

I'm running maven 21.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant