1.eclipse集成maven,经常jar包不能正常下载。解决方案:直接在cmd命令窗口执行命令:mvn clean compile下载
2.maven的setting.xml
E:/maven/repository org.mortbay.jetty optional true http 172.16.1.35 80 localhost|127.0.0.1 nexus-osc * Nexus osc http://maven.oschina.net/content/groups/public/ jdk-1.6 1.6 true 1.6 1.6 1.6 nexus local private nexus http://maven.oschina.net/content/groups/public/ true false nexus local private nexus http://maven.oschina.net/content/groups/public/ true false