maven项目直接maven install就可以了
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ okhttp ---
[WARNING] The POM for org.apache.maven:maven-artifact:jar:2.0.9 is missing, no dependency information available
[WARNING] The POM for org.apache.maven:maven-plugin-api:jar:2.0.9 is missing, no dependency information available
[WARNING] The POM for org.apache.maven:maven-project:jar:2.0.9 is missing, no dependency information available
[WARNING] The POM for org.apache.maven:maven-core:jar:2.0.9 is missing, no dependency information available
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is missing, no dependency information available
[WARNING] The POM for org.apache.maven.enforcer:enforcer-api:jar:1.0 is missing, no dependency information available
[WARNING] The POM for org.apache.maven.enforcer:enforcer-rules:jar:1.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
能告诉我这个错误怎么处理吗?
@春色园: 本地下载maven了么
@AnonymouL: 有啊,要不然这个错误怎么报出来的呢?
@春色园: 看下你配置的仓库能用么?可以用的话看下仓库里有没这些包
是不是配置的原因 仓库没有设置好!环境变量的什么也配置了吗
菜单列表(File)-export-java-jar,就可以了