转http://blog.csdn.net/honglei915/article/details/38087959
Maven引入Hadoop依赖报错:Missing artifact jdk.tools:jdk.tools:jar:1.6
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-mapreduce-client-core</artifactId>
- <version>2.4.0</version>
- </dependency>
原因是缺少tools.jar的依赖,tools.jar在jdk的安装目录中提供了,所以改成如下形式解决此问题:
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-mapreduce-client-core</artifactId>
- <version>2.4.0</version>
- <exclusions>
- <exclusion>
- <groupId>jdk.tools</groupId>
- <artifactId>jdk.tools</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>jdk.tools</groupId>
- <artifactId>jdk.tools</artifactId>
- <version>1.6</version>
- <scope>system</scope>
- <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
- </dependency>
相关推荐
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 加载不了 jdktool的 可以直接下在相应的jar,在maven路径下配置好,改好名字,重新更新maven
java8的tools包,在maven出现无法加载时可以将该包加入maven本地仓库即可解决问题
解决maven项目找不到tools-1.8.0.jar的问题,缺失tools-1.8.0.jar包
赠送jar包:mybatis-paginator-1.2.15.jar; 赠送原API文档:mybatis-paginator-1.2.15-javadoc.jar; 赠送源代码:mybatis-paginator-1.2.15-sources.jar; 赠送Maven依赖信息文件:mybatis-paginator-1.2.15.pom;...
1. 解压文件得到:jta-1_0_1B-classes.zip 2. cmd进入zip文件所在目录 ...mvn install:install-file -Dfile=./jta-1_0_1B-classes.zip -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar
Failure to transfer org.codehaus.plexus:plexus-archiver:pom:1.0 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update ...
只需要1积分 tools-1.8.0.jar maven 项目缺少或报相关jdk-tools相关的错 冰蝎的java版本缺少tools.jar无法运行,需要此jar包
解决maven引入hive的jar包时依赖报错Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in xxx的问题,maven路径org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho...
Java将word文档转换成pdf所需要的jar包(解压后使用)。 1.用以下命令注册到本地maven仓库: mvn install:install-file -Dfile=D:\aspose-words-15.8.0-jdk16.jar -DgroupId=...
Maven更新问题 今天Maven在更新的时候发现... http://maven.aliyun.com/nexus/content/repositories/central/ central junit junit Address/ http://jcenter.bintray.com/ central alimaven aliyun maven htt
缺少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命令 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=文件...
java jar包 javax.media:jai_core:1.1.3.jar 用于maven下载不下来。。。
Description Resource Path Location Type Missing artifact com.sun.jmx:jmxri:jar:1.2.1 pom.xml /eshop-storm line 2 Maven Dependency Problem
<groupId>net.sf.json-lib</groupId> <artifactId>json-lib <version>2.4 <classifier>jdk15 或者直接下载这个包
NULL 博文链接:https://3806850.iteye.com/blog/904877
主要介绍了解决java maven项目找不到jconsole-1.8.0.jar和tools-1.8.0.jar包问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
直接解压到Maven仓库的"com\artofsolving\jodconverter"这个目录下; 如有不明,访问这篇我写的博客; https://blog.csdn.net/qq_39403734/article/details/82020309 物超所值;
aspose-words-jdk16-14.9.0 maven仓库没有的版本,需要手动添加到仓库,附上命令:install:install-file -Dfile="H:\\14.9.0\\aspose-words-jdk16-14.9.0.jar" -DgroupId=...