My spring app is not deploying stopping at build fail

raji_muhammaed_muzza
Wed, 24 Jul 2024 14:54:21 +0000
Troubleshooting and help

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project raji: Compilation failure
[ERROR] /workspace/src/main/java/payroll/Employee.java:[5,27] cannot access jakarta.persistence.Entity
[ERROR] bad class file: /layers/heroku_maven/repository/jakarta/persistence/jakarta.persistence-api/3.1.0/jakarta.persistence-api-3.1.0.jar(jakarta/persistence/Entity.class)
[ERROR] class file has wrong version 55.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] → [Help 1]

this is the error message

3 posts - 3 participants