[Spring] Maven Clean error

yedi·2024년 5월 1일
2

Spring project 의 Maven Clean 중 error 를 확인할 수 있다.

[WARNING] The requested profile "pom.xml" could not be activated because it does not exist.

[경고] 요청한 프로필 "pom.xml"이 존재하지 않기 때문에 활성화할 수 없습니다.


해결 방법

1. Project 우클릭 -> Properties 선택



2. Maven 수정

  • Maven 을 선택하면 Active Maven Profiles (comma separated) 에 "pom.xml" 이라고 적혀있는 것을 확인할 수 있다.

  • "pom.xml"을 지운 후 Apply and Close 를 선택한다.

  • Yes를 선택한다.

  • error가 없어진 것을 확인 할 수 있다.


참고

https://dev-handbook.tistory.com/80

0개의 댓글