./mvnw package 에러가 납니다 ㅠㅠ
661
작성한 질문수 1
[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
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 버전 설치하시고 다시 해보세요.
jar 안되는 분들 참고하세요
0
359
1
mvnw 오류
0
462
1
./mvnw package 오류
0
420
2
java -jar target/*.jar 명령어 오류..
0
446
2
./mvnw package 오류
0
278
0
./mvnw package 오류
0
210
1
실행 상태에서 변경내용이 바로 반영되나요 ??
0
225
1
도와주세용 ㅜㅜ
0
205
1
./mvnw package 오류
0
318
1
클론 받은 내용과 수업내용이
0
399
1
./mvnw package 오류
0
1143
2
순환참조와 bean 주입에 대한 질문입니다!
0
407
1
jdk 버전이 자꾸 낮다면서 오류가 발생합니다.
0
890
1
age가 화면에 표시가 안됩니다.
0
394
0
에러가 뜨는데 어떻게 해야할지 도저히 모르겠어요
0
1641
1
PetClinicApplication() 함수에서 run 을 하고 싶습니다...
0
519
0
h2와 hsqldb가 어떤차이가 있는건지 궁금합니다
0
1244
0
예제가 이전과 다르네요
0
369
0
메이븐으로 설정했는데 그래들이 같이 보일수 있나요?
0
572
1
LogAspect
0
325
1
구현체가 2개 이상일때 생성자 주입
0
366
1
의존성 주입 방법들 장단점
0
493
1
인스턴스의 생명주기와 제어권
0
310
1
IoC 컨테이너 안에 있는 객체들끼리만 의존성 주입
0
371
1





