<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    linugb118--java space

    Java

    mvn 打包問題2

    調(diào)試maven時候,報錯
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project ep-easyui-webapp: Could not resolve de
    pendencies for project ep-easyui-webapp:ep-easyui-webapp:war:1.0-SNAPSHOT: The f
    ollowing artifacts could not be resolved: javax.persistence:ejb:jar:3.0-public_r
    eview, maven-plugins:maven-cobertura-plugin:plugin:1.3, maven-plugins:maven-find
    bugs-plugin:plugin:1.3.1, persistence:persistence:jar:1: Failure to find javax.p
    ersistence:ejb:jar:3.0-public_review in http://localhost:8081/nexus/content/grou
    ps/EpPublic/ was cached in the local repository, resolution will not be reattemp
    ted until the update interval of EpPublic has elapsed or updates are forced -> [
    Help 1]
    我在pom.xml 文件中添加
    <dependency>
      <groupId>javax.persistence</groupId>
      <artifactId>ejb</artifactId>
      <version>3.0-public_review</version>
    </dependency>
    仍然抱這個錯,解決方法
    1) Manually install this artifact into your local repo cache
    2) Add an excludes and a corresponding dependency so you get a proper artifact
    3) Stop depending on outdated Hibernate artifacts, I'd suggest
    upgrading to this one:
    http://repo2.maven.org/maven2/org/hibernate/hibernate-annotations/3.4.0.GA/
    改成<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-annotations</artifactId>
    <version>3.4.0.GA</version>
    </dependency>
    同時把
    <dependency>
      <groupId>javax.persistence</groupId>
      <artifactId>ejb</artifactId>
      <version>3.0-public_review</version>
    </dependency>
    去掉

    posted on 2012-05-09 10:44 linugb118 閱讀(631) 評論(1)  編輯  收藏

    Feedback

    # re: mvn 打包問題2 2012-05-09 15:24 linugb118

    還有一個很奇怪的問題如果,配的地址是
    <url>http://1localhost:8081/nexus/content/groups/EpPublic/</url>

    下載會失敗的
    需要改為
    <url>http://127.0.0.1:8081/nexus/content/groups/EpPublic/</url>  回復  更多評論   



    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導航:
     

    My Links

    Blog Stats

    常用鏈接

    留言簿(1)

    隨筆檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 99re6在线视频精品免费| 色久悠悠婷婷综合在线亚洲| 国产精品xxxx国产喷水亚洲国产精品无码久久一区 | j8又粗又长又硬又爽免费视频| 18gay台湾男同亚洲男同| 亚洲色无码一区二区三区| 日本久久久免费高清| 免费精品一区二区三区第35 | 四虎在线免费播放| 国产91免费在线观看| 最近免费视频中文字幕大全| 国产真人无码作爱免费视频| 五月婷婷免费视频| 免费人成在线观看网站视频 | 亚洲精品成人片在线观看| 免费无遮挡无码永久在线观看视频| 免费在线看v网址| 国产亚洲视频在线观看| 一级特黄色毛片免费看| 一区二区三区在线免费| 中国一级毛片免费看视频| 国产免费一区二区三区免费视频| 国产亚洲精品免费视频播放| 人人揉揉香蕉大免费不卡| 18禁止看的免费污网站| 黄色大片免费网站| 精品免费视在线观看| 日韩在线播放全免费| 国产午夜影视大全免费观看| 亚洲精品高清在线| 亚洲一级免费视频| 人人爽人人爽人人片A免费 | 亚洲男人的天堂久久精品| 中美日韩在线网免费毛片视频 | 免费国产va在线观看| 日本免费大黄在线观看| 四虎永久在线精品视频免费观看| 亚洲成A人片在线观看WWW| 理论亚洲区美一区二区三区 | 尤物视频在线免费观看| 中文字幕无码免费久久99 |