<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

    調試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 閱讀(621) 評論(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>  回復  更多評論   



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


    網站導航:
     

    My Links

    Blog Stats

    常用鏈接

    留言簿(1)

    隨筆檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: a级毛片视频免费观看| 亚洲AV无码精品色午夜果冻不卡 | 日本人护士免费xxxx视频| 免费视频淫片aa毛片| 四虎免费影院4hu永久免费| 自拍偷自拍亚洲精品第1页| 亚洲精品无码久久久久去q | 小日子的在线观看免费| 国产免费毛不卡片| 永久免费无码网站在线观看| 亚洲日韩国产AV无码无码精品| 国产午夜亚洲精品不卡电影| aa在线免费观看| 欧亚精品一区三区免费| 国产成人亚洲精品影院| 亚洲AV无码乱码麻豆精品国产| 蜜芽亚洲av无码一区二区三区| 国产偷伦视频免费观看| 日韩中文字幕免费| 牛牛在线精品观看免费正| 免费国产黄网站在线观看可以下载| 国内一级一级毛片a免费| 亚洲视频一区在线| 一级日本高清视频免费观看| 国产精品久久久久久久久久免费| 亚洲午夜在线播放| 最近中文字幕完整免费视频ww| 又大又黄又粗又爽的免费视频| 亚洲视频免费播放| 99精品全国免费观看视频| 亚洲国产AV无码一区二区三区| 久久成人国产精品免费软件| 自拍偷自拍亚洲精品被多人伦好爽| 中国性猛交xxxxx免费看| 亚洲性日韩精品一区二区三区| 青青操免费在线视频| 亚洲人成电影网站| 免费看美女裸露无档网站| 亚洲成a人片在线观| 在线观看免费视频资源| 久久水蜜桃亚洲av无码精品麻豆 |