본문 바로가기

Backend/IDE

[STS] Maven Build Error

반응형

 

 

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war (default-war) on project cancerMonitor: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null

 

1트 ) /C:/Users/mobil/.m2/repository/ (설정값에 따라 달라 다를 수도 있다.)

경로의 repository 전부 지우고 claen -> install

 

증상동일

 

2트 )

Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' due to an API incompatibility:

이 문구에 주목

 

2.3버전이 지원 되지 않는것 같아 3.3.2 버전으로 버전업

 

증상 해결

반응형

'Backend > IDE' 카테고리의 다른 글

[IntelliJ] IntelliJ 복구기능  (0) 2024.03.13
[git] .gitignore 적용  (0) 2024.03.07
[IntelliJ] IntelliJ를 실행해도 반응이 없을 때  (0) 2024.02.23
IntelliJ-Github token이용 연동  (0) 2024.02.20
STS Maven 빌드  (0) 2024.02.19