검색결과 리스트
글
///// 에러
> mvn -Dmaven.test.skip=true clean package
.
.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error reading C:\Users\sujkim\.m2\repository\net\sf\json-lib\json-lib\2.2.3\json-lib-2.2.3-jdk15.jar; cannot read zip file
[ERROR] error reading C:\Users\sujkim\.m2\repository\org\springmodules\spring-modules-validation\0.9\spring-modules-validation-0.9.jar; cannot read zip file
[ERROR] error reading C:\Users\sujkim\.m2\repository\jakarta-regexp\jakarta-regexp\1.5\jakarta-regexp-1.5.jar; cannot read zip file
[ERROR] error reading C:\Users\sujkim\.m2\repository\net\sf\log4jdbc3\1.1\log4jdbc3-1.1.jar; cannot read zip file
///// 문제
4개의 jar파일이 cannot read zip file 이라는 오류가 발생!!
소스를 빌드시 사내 넥서스(NEXUS) 레파지토리에 있는 라이브러리들을 가져오는데
넥서스에 있는 파일이 이상해져 있어서 그렇다...
왜 이상해졌는지는 모르겠다.
///// 해결
1. 해당 jar파일을 인터넷(구글)에서 찾아서 새로 받고 해당 경로(메이븐 로컬레파지토리)의 파일을 다시 바꿔주었다.
spring-modules-validation-0.9.jar: http://www.chibi.ubc.ca/maven2/spring/spring-modules-validation/0.9/
jakarta-regexp-1.5.jar: http://www.docjar.com/jar_detail/jakarta-regexp-1.5.jar.html
log4jdbc3-1.1.jar: https://code.google.com/p/log4jdbc/downloads/detail?name=log4jdbc3-1.1.jar&can=2&q=
2. json-lib-2.2.3-jdk15.jar은 2.4로 버전을 올려줬다.
pom.xml:
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.4</version>
<classifier>jdk15</classifier>
</dependency>
3. 다시 빌드
mvn -Dmaven.test.skip=true clean package
'LANGUAGE > !$%!% ERROR NOTE' 카테고리의 다른 글
[IntelliJ] CreateProcess error=2 (0) | 2016.01.12 |
---|---|
Unable to start the daemon process. (0) | 2016.01.11 |
[Toad] No valid Oracle Client found. please note that Toad only supports 32bit Oracle Client installations. Please view the release notes for additional system requirements (0) | 2016.01.04 |
[Oracle] ORA-01839 date not valid for month specified (0) | 2015.12.30 |
[Oracle] 관련 에러 (0) | 2015.12.15 |