Missing com.sun.jdmk:jmxtools:jar:1.2.1
錯誤程式碼如下:
1
/10/08 4:42:40 PM CST: Launching M2
1
/10/08 4:47:20 PM CST: Launching M2
1
/10/08 4:51:46 PM CST: Reading /myweb/pom.xml
1
/10/08 4:51:47 PM CST: [WARN] Unable to get resource from repository artifactory (http://localhost:8081/artifactory/repo)
1
/10/08 4:51:49 PM CST: [WARN] Unable
to get resource from repository java.net
(https://maven-repository.dev.java.net/nonav/repository)
1
/10/08 4:51:49 PM CST: [WARN] Unable to get resource from repository central (http://repo1.maven.org/maven2)
1
/10/08 4:51:50 PM CST: [WARN] Unable to get resource from repository artifactory (http://localhost:8081/artifactory/repo)
1
/10/08 4:51:52 PM CST: [WARN] Unable
to get resource from repository java.net
(https://maven-repository.dev.java.net/nonav/repository)
1
/10/08 4:51:52 PM CST: [WARN] Unable to get resource from repository central (http://repo1.maven.org/maven2)
1
/10/08 4:51:53 PM CST: [WARN] Unable to get resource from repository artifactory (http://localhost:8081/artifactory/repo)
1
/10/08 4:51:56 PM CST: [WARN] Unable
to get resource from repository java.net
(https://maven-repository.dev.java.net/nonav/repository)
1
/10/08 4:51:56 PM CST: [WARN] Unable to get resource from repository central (http://repo1.maven.org/maven2)
1
/10/08 4:51:56 PM CST: Missing
:
----------
1
) com
.sun
.jdmk:jmxtools:jar:1
.2
.1
Try downloading the file manually from:
http://java.sun
.com
/products/JavaManagement/download.html
Then, install it using the command:
mvn install:install-file -DgroupId=com
.sun
.jdmk -DartifactId=jmxtools \
-Dversion=1
.2
.1
-Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1
) cn.gamewave:myweb:war:1
.0-SNAPSHOT
2
) log4j:log4j:jar:1
.2
.15
3) com
.sun
.jdmk:jmxtools:jar:1
.2
.1
2
) com
.sun
.jmx:jmxri:jar:1
.2
.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com
.sun
.jmx -DartifactId=jmxri \
-Dversion=1
.2
.1
-Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1
) cn.gamewave:myweb:war:1
.0-SNAPSHOT
2
) log4j:log4j:jar:1
.2
.15
3) com
.sun
.jmx:jmxri:jar:1
.2
.1
3) javax.jms:jms:jar:1
.1
Try downloading the file manually from:
http://java.sun
.com
/products/jms/docs.html
Then, install it using the command:
mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \
-Dversion=1
.1
-Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1
) cn.gamewave:myweb:war:1
.0-SNAPSHOT
2
) log4j:log4j:jar:1
.2
.15
3) javax.jms:jms:jar:1
.1
----------
3 required artifacts are missing
.
解決辦法:
- < dependency >
- < groupId > log4j </ groupId >
- < artifactId > log4j </ artifactId >
- < version > 1 .2 .15 </ version >
- < scope > compile </ scope >
-
</
dependency
>
換成 1 .2 .14及以前的版本就可以了
相關文章
- .lastUpdated:The POM for mysql:mysql-connector-java:jar:8.1.0 is missing, no dependency information availableASTMySqlJavaJARORMAI
- Maven搭建hadoop環境報Missing artifact jdk.tools:jdk.tools:jar:1.7MavenHadoopJDKJAR
- LeetCode:Missing Number And First Missing PositiveLeetCode
- 1.2.1 理解LALR解析演算法演算法
- Hive1.2.1安裝筆記Hive筆記
- Missing Subsequence Sum
- ntldr is missing怎麼解決? ntldr is missing怎麼回事?
- java -jar demo.jarJavaJAR
- First Missing Positive【hard】
- Maven搭建hadoop環境報Missing artifact jdk.tools:jdk.tools:jar:1.7(5種辦法,2種正解)MavenHadoopJDKJAR
- 開源文件管理系統 Wizard 1.2.1 釋出
- gerrit "missing Change-Id"
- your Android sdk is missingAndroid
- NILDR is Missing解決方案
- B. Missing Subsequence Sum
- sql server jdbc 3jar包驅動 msbase.jar;mssqlserver.jar;msutil.jarSQLServerJDBCJAR
- java-jar啟動jar包JavaJAR
- PB協議報錯 it is missing required fields: (cannot determine missing fields for lite message)協議UI
- 更穩定!Apache Doris 1.2.1 Release 版本正式釋出Apache
- Untouch for Mac(觸控欄控制軟體) v1.2.1Mac
- go-carbon 1.2.1 版本釋出了,新增多個方法Go
- 分散式Hadoop1.2.1叢集的安裝分散式Hadoop
- shell指令碼報錯:[: missing `]‘指令碼
- Leetcode First Missing PositiveLeetCode
- Leetcode-Missing RangesLeetCode
- 【Python】 Missing parentheses in call to 'print'Python
- Runnable jarJAR
- Sun JarJAR
- jar打包JAR
- jar 打包JAR
- jar editJAR
- jar包JAR
- 「技美之路 第02篇」圖形 1.2.1 向量基礎
- Spark 1.2.1 釋出,開源叢集計算系統Spark
- jar命令打包與java執行jar包JARJava
- ojdbc14.jar 與 classes12.jarJDBCJAR
- maven依賴jar包更新,業務jar需同步更新(業務jar依賴API)MavenJARAPI
- Laravel 8 路由模組新增 missing 方法Laravel路由