Backend/IDE

[STS] Maven Build Error

Mr.6_냥아치 2024. 3. 6. 17:13
반응형

 

 

[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 버전으로 버전업

 

증상 해결

반응형