maven吧 关注:1,580贴子:3,526

回复:遇到问题请召唤我,我会尽可能解决你们的问题的。

只看楼主收藏回复

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
楼主看一下什么问题


IP属地:陕西183楼2017-08-10 17:56
收起回复
    创建完maven项目 报错 怎么解决?


    IP属地:广东184楼2017-08-24 11:00
    收起回复
      2026-01-03 08:32:20
      广告
      不感兴趣
      开通SVIP免广告
      请问这是什么问题,,我eclipse安装maven总是出现这个错误
      An error occurred while collecting items to be installed
      session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
      No repository found containing: osgi.bundle,org.tigris.subversion.subclipse.graph,4.2.0.1
      No repository found containing: org.eclipse.update.feature,org.tigris.subversion.subclipse.graph.feature,4.2.0.1
      我安装的地址是这个http://download.eclipse.org/technology/m2e/milestones/1.4,,
      谢谢了!安装了一个星期了各种办法都试了,还是不行,,


      185楼2017-08-26 09:53
      收起回复
        楼主 我
        错误提示如下:(eclipse+maven)
        Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.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-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/maven-surefire-plugin-2.7.1.pom. Error code 407, Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ) log4j-test01 Unknown Maven Problem
        解决方法如下:
        (1)将C:\User\.m2\repository\org\apache\maven\plugins\maven-deploy-plugin目录下的文件夹删除,
        (2)然后右击项目Maven->Update Project->Update Dependencies(如果更新无效,选择强制更新如下图)
        遇到这个问题 但是我找不到mac上的m2文件夹


        IP属地:浙江186楼2017-09-08 17:22
        收起回复
          楼主你好,我在使用maven的时候,发现某些jar包是不可用的,大多数都能查看里面的内容,但是这样写不可用的包,双击之后会出现 invalid LOC header(bad signature)。。
          暂时使用手动添加本地jar包的方式结局,但是在maven下载的时候,我也不知道还有哪些包会出现这种情况


          188楼2017-10-11 14:04
          收起回复

            楼主你好,我按照网上的教程配置maven环境变量完成后,输入mvn help:system指令 报错,求教,这个怎么解决。


            IP属地:新疆190楼2017-10-24 16:16
            回复
              求助吧主:
              我在maven中使用插件maven-jar-plugin来使用Dubbo的com.alibaba.dubbo.container.Main启动服务,compile同通过,package报错:
              INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ wccp-common ---
              [INFO]
              [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ wccp-common ---
              [WARNING] Error injecting: org.apache.maven.plugin.jar.JarMojo
              java.lang.NoClassDefFoundError: Lorg/codehaus/plexus/archiver/jar/JarArchiver;
              at java.lang.Class.getDeclaredFields0(Native Method)
              at java.lang.Class.privateGetDeclaredFields(Class.java:2397)
              at java.lang.Class.getDeclaredFields(Class.java:1806)
              at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoin
              t.java:675)
              at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(Inje
              ctionPoint.java:380)
              at com.google.inject.internal.ConstructorBindingImpl.getInternalDependen
              cies(ConstructorBindingImpl.java:164)
              求帮助,已经困惑了一天了!!


              IP属地:广东192楼2017-11-06 19:34
              回复
                求3.2.5版本


                IP属地:内蒙古来自Android客户端193楼2017-12-01 10:17
                回复
                  2026-01-03 08:26:20
                  广告
                  不感兴趣
                  开通SVIP免广告
                  我用的 myeclipse 2017 ,发现 修改pom.xml文件中的依赖关系后,不会自动更新相应的jar包, 应该怎么破


                  194楼2017-12-03 22:59
                  回复
                    这是咋回事啊大神,我是创建Maven项目的时候出现的这个错误。。。


                    195楼2017-12-18 23:57
                    回复
                      求助吧主:为什么我的maven web 项目少了很多东西,没有project faces如图


                      来自Android客户端196楼2018-02-07 11:49
                      回复(1)
                        求助吧主!eclipse怎么把tomcat9设置启动的tomcat


                        IP属地:浙江197楼2018-02-16 18:11
                        回复
                          吧主大大有dom4j1.6.1.jar包吗 分享一下 感激不尽


                          IP属地:湖南198楼2018-03-18 17:23
                          回复(1)
                            这个是什么问题,怎么解决啊


                            IP属地:广东199楼2018-05-17 13:01
                            回复