Last active
January 10, 2021 12:10
-
-
Save abelardolg/60c6d2dcbf56bc304e53093f1b2b9f8f to your computer and use it in GitHub Desktop.
Unknown constant tag 79 in class file org/springframework/core/annotation/AnnotationUtils
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-01-10 12:42:34.226 INFO 21802 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on skull with PID 21802 (/home/alg/Documentos/innovacion/itdeveloper/lab/java/demo/target/classes started by alg in /home/alg/Documentos/innovacion/itdeveloper/lab/java/demo) | |
2021-01-10 12:42:34.227 INFO 21802 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default | |
2021-01-10 12:42:34.419 WARN 21802 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration]; nested exception is java.lang.ClassFormatError: Unknown constant tag 79 in class file org/springframework/core/annotation/AnnotationUtils | |
2021-01-10 12:42:34.428 INFO 21802 --- [ main] ConditionEvaluationReportLoggingListener : | |
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. | |
2021-01-10 12:42:34.434 ERROR 21802 --- [ main] o.s.boot.SpringApplication : Application run failed | |
java.lang.ClassFormatError: Unknown constant tag 79 in class file org/springframework/core/annotation/AnnotationUtils | |
at java.base/java.lang.ClassLoader.defineClass1(Native Method) ~[na:na] | |
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[na:na] | |
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[na:na] | |
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800) ~[na:na] | |
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) ~[na:na] | |
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) ~[na:na] | |
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) ~[na:na] | |
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[na:na] | |
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[na:na] | |
at org.springframework.context.support.AbstractApplicationContext.resetCommonCaches(AbstractApplicationContext.java:925) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE] | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:576) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE] | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE] | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE] | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE] | |
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE] | |
at com.example.demo.DemoApplication.main(DemoApplication.java:14) ~[classes/:na] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 2.319 s | |
[INFO] Finished at: 2021-01-10T12:42:34+01:00 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.7.RELEASE:run (default-cli) on project demo: Application finished with exit code: 1 -> [Help 1] | |
[ERROR] | |
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[ERROR] | |
[ERROR] For more information about the errors and possible solutions, please read the following articles: | |
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-parent</artifactId> | |
<version>2.3.7.RELEASE</version> | |
<relativePath/> <!-- lookup parent from repository --> | |
</parent> | |
<groupId>com.example</groupId> | |
<artifactId>demo</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>demo</name> | |
<description>Demo project for Spring Boot</description> | |
<properties> | |
<java.version>11</java.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-web</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-test</artifactId> | |
<scope>test</scope> | |
<exclusions> | |
<exclusion> | |
<groupId>org.junit.vintage</groupId> | |
<artifactId>junit-vintage-engine</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment