zoukankan      html  css  js  c++  java
  • Maven构建报错问题解决

    [ERROR] Failed to execute goal on project zepeto-admin: Could not resolve dependencies for project com.yiruike.admin:zepeto-admin:jar:1.0.0-SNAPSHOT: Failure to find xuggle:xuggle-xuggler:jar:5.4 in http://10.35.33.29:8081/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-releases has elapsed or updates are forced -> [Help 1]

    解决办法有两种:

    1、命令行的方式(强制更新)

    mvn clean install -U

    2、修改maven配置文件settings.xml

    添加<updatePolicy>always</updatePolicy>;

    <repositories>
       <repository>
         <id>xr-snapshots</id>
           <url>http://nexus.alibaba.com/repository/snapshots/</url>
         <snapshots>
           <enabled>true</enabled>
           <!-- 注意 -- >
           <updatePolicy>always</updatePolicy>
         </snapshots>
         <releases>
           <enabled>false</enabled>
           <!-- 注意 -- >
           <updatePolicy>always</updatePolicy>
         </releases>
       </repository>
     </repositories>
    
    <pluginRepositories>
       <pluginRepository>
         <id>xr-plugins</id>
         <name>xingren plugins</name>
         <url>http://nexus.alibaba.com/repository/public/</url>
         <releases>
             <enabled>true</enabled>
             <!-- 注意 -- >
             <updatePolicy>always</updatePolicy>
         </releases>
          <snapshots>
              <enabled>true</enabled>
              <!-- 注意 -- >
              <updatePolicy>always</updatePolicy>
          </snapshots>
       </pluginRepository>
    </pluginRepositories>
  • 相关阅读:
    损失函数相关
    半监督学习
    自监督学习
    leetcode相关
    深度学习中的Normalization
    TCN
    用户行为序列相关
    损失函数loss相关
    MapReduce编程之实例分析:wordCount
    MapReduce编程之初学概念篇
  • 原文地址:https://www.cnblogs.com/wjoyxt/p/11327239.html
Copyright © 2011-2022 走看看