1. 程式人生 > >maven建立專案報錯問題

maven建立專案報錯問題

報錯顯示如下:

DescriptionResourcePathLocationType

The container 'Maven Dependencies' references non existing library 'C:\Users\CCai\.m2\repository\com\github\pagehelper\pagehelper\3.4.2-fix\pagehelper-3.4.2-fix.jar'roseonly-manager-daoBuild pathBuild Path Problem
The container 'Maven Dependencies' references non existing library 'C:\Users\CCai\.m2\repository\com\github\pagehelper\pagehelper\3.4.2-fix\pagehelper-3.4.2-fix.jar'roseonly-manager-serviceBuild pathBuild Path Problem
The container 'Maven Dependencies' references non existing library 'C:\Users\CCai\.m2\repository\com\github\pagehelper\pagehelper\3.4.2-fix\pagehelper-3.4.2-fix.jar'roseonly-manager-webBuild pathBuild Path Problem
Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. roseonly-commonBuild pathJRE System Library Problem

Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. roseonly-manager-pojoBuild pathJRE System Library Problem

DescriptionResourcePathLocationType
The project cannot be built until build path errors are resolvedroseonly-manager-daoUnknownJava Problem
The project cannot be built until build path errors are resolvedroseonly-manager-serviceUnknownJava Problem
The project cannot be built until build path errors are resolvedroseonly-manager-webUnknownJava Problem

DescriptionResourcePathLocationType
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fixpom.xml/roseonly-manager-daoline 30Maven Dependency Problem
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fixpom.xml/roseonly-manager-serviceline 2Maven Dependency Problem
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fixpom.xml/roseonly-manager-webline 2Maven Dependency Problem

截圖如下:


解決方法:

儘管報這麼多的錯,歸根到底就是jar包的問題,只需要把<pagehelper.version>3.4.2-fix</pagehelper.version>改成<pagehelper.version>3.2.1</pagehelper.version>即可,ctrl+s進行儲存,報錯資訊自會自動消失了。

截圖如下:


相關推薦

maven建立專案問題

報錯顯示如下: DescriptionResourcePathLocationType The container 'Maven Dependencies' references non existing library 'C:\Users\CCai\.m2\reposit

centos7 scrapy 建立專案 TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,

centos7  python2.7 安裝完pip後 執行命令建立專案:   scrapy startproject todayMovie 結果報錯了,如下:       [[email pro

ionic3 ionic start建立專案解決方案

文章來至:http://www.ionic.wang/article-index-id-128.html 1.首先 ionic start建立專案的時候剛開始就遇到錯誤(沒有生成檔案)第一種錯誤 ionic start ionicdemo tabs 執行這個命令以後報以下錯誤

使用maven建立專案時報The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

 Description Resource Path Location Type The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /ssm-crud/Web

回顧建立專案

一、建立虛擬環境 安裝虛擬環境pip install virtualenv 建立虛擬環境virtualenv venv(venv就是虛擬環境名稱,自定義) 進入虛擬環境venv\Scripts\activate 安裝所需軟體:pip install django==1.9.6 退出de

cordova 建立專案

cordova 建立專案報錯,報錯如下 cordova執行create不需要JDK和SDK的配置(後面打包才要)。出現這樣的報錯是因為cordova安裝的依賴不全。 可能是前期用cnmp安裝的, 改成nmp安裝就可以, 雖然比較慢, 但是不會出問題 輸入 npm install -g cordova

IDEA maven編譯專案: Failed to execute goal on project XXX

1.問題現象 使用maven install(編譯)專案報錯: [ERROR] Failed to execute goal on project basic-logic: Could not resolve dependencies for project com.basic.management

Maven編譯專案:某些類找不到符號

 遇到Maven在編譯專案原始碼時候出現找不到符號錯誤,主要歸結為以下幾個問題:  1. 可能專案編碼格式不統一。  2. 可能專案編碼使用的JDK版本不統一。  專案可能是當前專案也可能是繼承的父專案,還有可能是聚合的專案,總之就是使用Maven之後要做到統一。

MyEclipse工具使用-找不到Maven Dependencies專案

轉自:http://www.xuebuyuan.com/2225268.html myeclipse不是很穩定,總是會出各種各樣的漏子,我一直都這樣覺得,但是又覺得比eclipse功能多多了。 這次出現的問題是maven專案被IDE識別了,但是沒有出現maven de

mavenmaven 新建專案

【問題描述】 報錯: Could not calculate build plan: Pluginorg.apache.maven.plugins:maven-resources-plugin:2.

Android Studio 建立專案(一)

剛換完工作,配置好jdk,裝好studio,剛建立好一個project,studio就丟擲一個錯誤: Error:Unknown host 'services.gradle.org'. You may need to adjust the proxy settings in

Androidstudio 建立專案

Error:Execution failed for task ':app:preDebugAndroidTestBuild'. > Conflict with dependency 'com.android.support:support-annotat

使用ssm整合是建立Maven專案Failure to transfer com.thoughtworks.xstream:xstream:pom:1.3.1

Description Resource Path Location TypeFailure to transfer com.thoughtworks.xstream:xstream:pom:1.3.1 from https://repo.maven.apache.org/maven2 was cached

Eclipse 建立maven專案 one or more constraints have not been satisfied

首先 在 pom.xml > plugins 中新增 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin&

建立maven專案“Cannot change version of project facet Dynamic Web Module to 3.0.”完美解決

       大致有這些報錯        Cannot change version of project facet Dynamic Web Module to 3.0.        Java compiler level does not match t

搭建springBoot環境以及解決Eclipse中建立maven專案專案以及資料夾resource問題

maven專案時專案報錯以及資料夾resource報錯問題 因為這段時間公司再用springBoot,於是我就學習了springBoot,在這過程中遇到了很多問題,最後終於都解決了,現在為自己的學習做一下總結,同時簡單的搭建一個maven環境下的springBoot專案,供類似於我這種新

maven 命令列建立web-app專案

 用maven命令列建立web-app 專案,發現一直報錯:no plugin found for prefix 'archetype'  解決方案:  修改conf資料夾中的setting.xml檔

使用 idea 建立 maven 專案

正常的過程應該是: file - new poject 點選 next 點選 next User setting file 選擇 maven 安裝路徑下的 conf 中的 setting 檔案 ,並且倉庫選擇預設的 。 圖片有個錯誤。新增

Intellij idea建立maven專案

1  . 新建maven專案,出現如下錯誤:即報maven-site-plugin:3.3    jar包沒有或者是其他類似的情況: 原因: 可能是倉庫下的maven jar包被無意中刪除,並且點選clean下載jar包死活下載不下來。 解決方法如下: 1. 在倉庫

eclipse建立maven專案解決辦法

報錯資訊: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be