记得以前写过这个错误的解决方案,找了很长时间,自己都没找到,那就只能自己再写一遍了。 解决方案一: 原来,是${java.home}在作怪,eclipse 没有使用 JAVA_HOME 默认,eclipse 使用 C:"windows"system32"javaw.exe 作为 JVM,当然找不到tools.jar 解决方法如下: 修改 eclipse.exe 目录下的 eclipse.ini 指定vm,,注意 -vm后面不能有空格。
-vm
C:\Java\jdk1.6.0_02\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
解决办法二:
首先,查看错误列表windows->Show View->Problems,在有以上问题的同时,还会出现该错误。
The container 'Maven Dependencies' references non existing library 'C:\Documents and Settings\DELL\.m2\repository\com\sun\tools\1.5.0\tools-1.5.0.jar'
大致说:找不到该tools-1.5.0.jar。
所以将C:\Program Files\Java\jdk1.6.0_10\lib\目录下的tools.jar拷贝到C:\Documents and Settings\DELL\.m2\repository\com\sun\tools\1.5.0\目录下,并将tools.jar改名为tools-1.5.0.jar,并在pom.xml中作如下配置:
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
</dependency>
即可!
相关推荐
Missing artifact com.babasport:page:jar:1.0Missing artifact com.babasport:page:jar:1.0
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.首先确定你...
数据库连接包,下载解压,使用命令 mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.5.0 -Dpackaging=jar -Dfile=(你的路径)\ojdbc14.jar
在我们学习淘淘商城项目时候,导入系统项目,会出现Missing artifact com.github.pagehelper:pagehelper:jar:3. 错误
Missing artifact com.oracle:ojdbc14:jar:10.2.0.3.0-附件资源
缺少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
Description Resource Path Location Type Missing artifact com.sun.jmx:jmxri:jar:1.2.1 pom.xml /eshop-storm line 2 Maven Dependency Problem
解决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;...
Failure to transfer org.... Original error: Could not transfer artifact org.codehaus.plexus:plexus-io:jar: 1.0.1 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000
com.google.code.kaptcha:2.3.2 谷歌验证码依赖下载
ojdbc6-11.2.0.1.0 解决问题: Could not find artifact com.oracle:ojdbc6:pom:11.2.0.1.0
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
jacob.jar,java和com组件间的桥梁,jacob-1.14.3-x64.dll文件。用java通过调用此jar相关的dll去操纵office(如:word)
修复https://download.csdn.net/download/ajax_yan/10677844#里面少类的问题 ,之前上传的就不要下载了
springBoot的pom头部报tools.jar的错所需要的jar包 错误为Missing artifact com.sun:tools:jar:1.8.0
Could not resolve dependencies for project org.apache.flink:flink-avro-confluent-registry:jar:1.15.3: Could not find artifact io.confluent:kafka-schema-registry-client:jar:6.2.2 in maven 安装本地...
com.springsource.org.aspectj.weaver-1.6.8.jar