maven dependencies error
노트북 바꾸고 나서 Spring 설정(jdk 1.7) 잡는데
dependencies가 이러한 에러가 뜨면서 절대 안잡혔다
몇 시간을 허비했는지... 라고 쓴 Blog를 다 뒤져봐도 결과는 안됨...
이 버전을 설치했다
고생한 검색 기록.....
spring maven error
maven plugin 에러
maven dependencies 에러
maven repository 설정
maven repository
maven dependencies 못잡을 때
메이븐 received fatal alert: protocol_version
Multiple annotations found at this line: - Failure to transfer org.apache.maven.plugins:maven-plugins:pom:23 from https:// repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-plugins:pom:23 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version - No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (C:\Users\djrud\.m2\repository), central (https://repo.maven.apache.org/maven2)]
Publishing failed with multiple errors Error reading file C:\Users\djrud\.m2\repository\org\springframework\spring-context\4.0.0.RELEASE\spring-context-4.0.0.RELEASE.jar C:\Users\djrud\.m2\repository\org\springframework\spring-context\4.0.0.RELEASE\spring-context-4.0.0.RELEASE.jar (지정된 파일을 찾을 수 없습니다) Error reading file C:\Users\djrud\.m2\repository\org\springframework\spring-webmvc\4.0.0.RELEASE\spring-webmvc-4.0.0.RELEASE.jar C:\Users\djrud\.m2\repository\org\springframework\spring-webmvc\4.0.0.RELEASE\spring-webmvc-4.0.0.RELEASE.jar (지정된 파일을 찾을 수 없습니다) Error reading file C:\Users\djrud\.m2\repository\org\slf4j\slf4j-api\1.6.6\slf4j-api-1.6.6.jar C:\Users\djrud\.m2\repository\org\slf4j\slf4j-api\1.6.6\slf4j-api-1.6.6.jar (지정된 파일을 찾을 수 없습니다) Error reading file C:\Users\djrud\.m2\repository\org\slf4j\jcl-over-slf4j\1.6.6\jcl-over-slf4j-1.6.6.jar C:\Users\djrud\.m2\repository\org\slf4j\jcl-over-slf4j\1.6.6\jcl-over-slf4j-1.6.6.jar (지정된 파일을 찾을 수 없습니다) Error reading file C:\Users\djrud\.m2\repository\org\slf4j\slf4j-log4j12\1.6.6\slf4j-log4j12-1.6.6.jar C:\Users\djrud\.m2\repository\org\slf4j\slf4j-log4j12\1.6.6\slf4j-log4j12-1.6.6.jar (지정된 파일을 찾을 수 없습니다)
Multiple annotations found at this line: - No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (C:\Users\djrud\.m2\repository), central (https://repo.maven.apache.org/maven2)] - Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from https:// repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https://repo.maven.apache.org/ maven2): Received fatal alert: protocol_version
그러다가 jdk 1.8설치하니
바로됨.....
ㅎ