'eclipse에서 pom.xml에 대한 Missing artifact 오류 발생시 해결방안'에 해당되는 글 1건

  1. 2014.01.23 [펌] eclipse에서 pom.xml에 대한 Missing artifact 오류 발생시 해결방안
반응형

eclipse에서 maven 최신 버전 (0.12.xx)를 사용할 경우 maven build시 아래와 같은 에러 메세지를 확인 할 수 있습니다.


Missing artifact javax.activation:activation:jar:1.0.2:provided 
Missing artifact javax.mail:mail:jar:1.3.1:provided 
Missing artifact javax.xml:namespace:jar:1.1.0:provided


이 메세지가 발생 할 경우 eclipse의 maven intergration을 uninstall 후 하위 버전(0.10.xx)으로 설치해주면 해결 됩니다.

0.12.xx에서 새로 생긴 HttpClient 관련 인증 문제 때문에 발생하는 문제인데 아직까지 해결을 안해주고 있네요 -_-;;

# Appendix

- 위의 방식으로도 계속 Missing Artifact ... 가 발생한다면 아래를 참고하여 해결하시길 바랍니다.

1. right click on your project > Maven > Update Dependencies

then

2. right click on your project > Maven > Update Project configuration

Assuming you M2Eclipse plugin is installed correctly this should solve the issue. Also, check if there is an option right click project > Maven > 3. Enable dependency Management select that

참고 URL : http://stackoverflow.com/questions/5500534/m2eclipse-says-missing-artifact-but-i-can-build-from-cmdline



출처 : http://blog.daum.net/gildongmoo2/15971083

Posted by 1010