작성
·
597
0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.635 s
[INFO] Finished at: 2020-11-14T01:43:00+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.9.0:run (default) on project spring-petclinic: Execution default of goal ro.isdc.wro4j:wro4j-maven-plugin:1.9.0:run failed: Unable to load the mojo 'run' in the plugin 'ro.isdc.wro4j:wro4j-maven-plugin:1.9.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: ro/isdc/wro/maven/plugin/Wro4jMojo has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>ro.isdc.wro4j:wro4j-maven-plugin:1.9.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/bscom/.m2/repository/ro/isdc/wro4j/wro4j-maven-plugin/1.9.0/wro4j-maven-plugin-1.9.0.jar
[ERROR] urls[1] = file:/C:/Users/bscom/.m2/repository/org/webjars/bootstrap/3.3.6/bootstrap-3.3.6.jar
[ERROR] urls[2] = file:/C:/Users/bscom/.m2/repository/org/webjars/jquery/1.11.1/jquery-1.11.1.jar
[ERROR] urls[3] = file:/C:/Users/bscom/.m2/repository/org/mockito/mockito-core/3.3.3/mockito-core-3.3.3.jar
[ERROR] urls[4] = file:/C:/Users/bscom/.m2/repository/net/bytebuddy/byte-buddy/1.10.5/byte-buddy-1.10.5.jar
[ERROR] urls[5] = file:/C:/Users/bscom/.m2/repository/net/bytebuddy/byte-buddy-agent/1.10.5/byte-buddy-agent-1.10.5.jar
[ERROR] urls[6] = file:/C:/Users/bscom/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar
[ERROR] urls[7] = file:/C:/Users/bscom/.m2/repository/ro/isdc/wro4j/wro4j-core/1.9.0/wro4j-core-1.9.0.jar
[ERROR] urls[8] = file:/C:/Users/bscom/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar
[ERROR] urls[9] = file:/C:/Users/bscom/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar
뭐가 문제일까요 ㅠㅠㅠㅠ???
답변 2
0
0
Wro4jMojo has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
저 플러그인이 자바 9 버전으로 컴파일 된 클래스 파일로 패키징 한 것 같은데, 자바 8로 실행하고 있어서 에러가 난걸로 보이네요. 자바 11 버전 설치하시고 다시 해보세요.