Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 |
Tags
- java
- API
- 안드로이드 스튜디오
- MySQL
- Database
- Docker
- http
- letterspacing
- 스레드 덤프
- ibatis
- oracle
- Tomcat
- 키보드
- equals
- HTML
- MariaDB
- 오블완
- 스레드
- 티스토리챌린지
- integer
- cmd
- START WITH
- 프로세스
- 컨트롤러
- 톰캣
- 삼성증권
- wsdl
- Linux
- JDBC
- 영상편집
Archives
- Today
- Total
블로그 이름
[Maven] settings.xml profiles 오류 본문
mvn clear는 되는데,
mvn install이 안되는 현상이 있었다.
C:\Users\사용자명\.m2
폴더의
settings.xml
파일에서
profile쪽에서 오류가 났다.
<profile> 은
<profiles> 안에 써야 하는데, <profiles> 없이 <profile> 만 사용해서 나는 오류였다.
기존 (오류발생)
<profile>
<id>downloadSources</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</properties>
</profile>
수정 후
<profiles>
<profile>
<id>downloadSources</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</properties>
</profile>
</profiles>
수정 후 mvn install 잘됨
'개발 > 오류' 카테고리의 다른 글
| The method setAAAA(ArrayList<Object>) in the type AAAA is not applicable for the arguments (List<AAAA>) (0) | 2024.09.05 |
|---|---|
| javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection (0) | 2024.09.05 |
| [Tomcat] 톰캣 한글 깨지는 현상 (0) | 2024.08.23 |
| [Node] 오류 An unhandled exception occurred (0) | 2024.08.21 |
| [VM] RPC_S_SERVER_UNAVAILABLE/0x800706ba (0X800706BA) (0) | 2024.08.21 |