Missing:
----------
1) com.sun:tools:jar:1.5.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.9
2) com.sun:tools:jar:1.5.0
----------
1 required artifact is missing.
for artifact:
...
Or maybe missing com.sun:tools:jar:1.6.0. Same issue.
On Mac OS, the tools.jar classes are included in classes.jar. There's no need for a systemPath dependency on Mac OS. All required classes are already in the runtime (classes.jar). The attached patch adds the com.sun.tools.jar dependency only for Sun JVMs.
Solution:
Find all dependency on this com.sun:tools:jar:1.6.0, comment all of them. That's it.
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
分享到:
相关推荐
然而,有时我们可能会遇到一些特定的依赖问题,比如在这个案例中,"Unresolved dependency: 'com.aspose:aspose:jar:19'",意味着在执行Maven构建时,Maven无法从配置的阿里云仓库中找到`com.aspose:aspose:jar:19`...
Missing artifact com.oracle:ojdbc6:jar:11.2.0.1.0问题解决 ojdbc包pom.xml出错 <!-- oracle数据库驱动 --> <groupId>com.oracle</groupId> <artifactId>ojdbc6 <version>11.2.0.1.0 1.首先确定你...
Maven更新问题 今天Maven在更新的时候发现... http://maven.aliyun.com/nexus/content/repositories/central/ central junit junit Address/ http://jcenter.bintray.com/ central alimaven aliyun maven htt
"Missing artifact com.babasport:page:jar:1.0" 这个标题实际上是一个常见的Maven或Gradle构建错误信息,它指出在项目中找不到特定的库或者模块。这个错误通常意味着在构建工程时,Maven或Gradle的依赖解析机制没能...
缺少jar包 Description Resource Path Location Type Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1 pom.xml Maven Dependency Problem jmxtools-1.2.1.jar
然而,有时候在运行Maven项目时,可能会遇到找不到特定jar包的问题,比如本例中的`tools-1.8.0.jar`。这个问题通常表明Maven在构建路径或本地仓库中未找到该依赖。下面我们将详细探讨如何识别、解决此类问题。 首先...
本文将详细解释如何解决“Missing artifact com.sun.:tools:jar:1.8.0”的错误,并探讨与之相关的`tools-1.8.0.jar`文件。 首先,让我们了解这个错误的含义。在Maven或Gradle等构建工具中,当我们构建项目时,如果...
Description Resource Path Location Type Missing artifact com.sun.jmx:jmxri:jar:1.2.1 pom.xml /eshop-storm line 2 Maven Dependency Problem
hive 开发UDF 使用maven工程 引发jar包缺失 hive 开发UDF 使用maven工程 引发jar包缺失
Failure to transfer org.codehaus.plexus:plexus-archiver:jar:1.2 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update ...
在构建和运行淘淘商城项目时,可能会遇到一个常见的错误提示:“Missing artifact com.github.pagehelper:pagehelper:jar:3.”。这个错误意味着在项目的依赖管理中,缺少了一个名为PageHelper的库,具体版本为3。...
java8的tools包,在maven出现无法加载时可以将该包加入maven本地仓库即可解决问题
描述中提到,从Maven仓库获取的`jna.jar`文件不包含`examples`包,这通常是官方发布的精简版或者核心库,仅包含了JNA的基本功能。然而,用户在别处找到了一个包含非空`examples`包的`jna.jar`,这个版本可能包含了...
`javax.mail-1.6.0.jar`是该库的一个特定版本,包含了用于处理SMTP(简单邮件传输协议)、POP3(邮局协议)和IMAP(因特网消息访问协议)等邮件服务所需的所有类和接口。 1. **`javax.mail`库介绍** `javax.mail`...
导入maven命令 mvn install:install-file -Dfile=文件路径\spire.pdf.free-2.2.2.jar -DgroupId=e-iceblue -DartifactId=spire.pdf.free -Dversion=2.2.2 -Dpackaging=jar mvn install:install-file -Dfile=文件...
Could not resolve dependencies for project ****:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1: Could not transfer ...
jna-***.jar中文文档.zip,java,jna-***.jar,net.java.dev.jna,jna,***,com.sun.jna,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压 ...
<groupId>gui.ava <artifactId>html2image</artifactId> <version>0.9 maven 下载到 maven库下边的gui.ava.html2image0.9 及jar 可以直接使用,在 一些依赖库中下载不下来,所以放到这里方便使用
<groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <version>3.8.1 <compilerArgument>-J-Djava.ext.dirs=${java.home}/lib ``` - **方法三:使用Java 9及以上版本**:从Java 9...
Maven坐标:com.google.protobuf:protobuf-java:3.11.4; 标签:google、protobuf、java、中文文档、jar包; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档...