创建maven项目出现错误Could not find artifact com.sun:tools:jar:1.5.0 解决方法:
错误如下:
find artifact com.sun:tools:jar:1.5.0 at specified path E:/Java/jre6/../lib/tools.jar -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1]
解决办法:
Window -> Preferences -> Java -> Installed JREs, 点击"Add"按钮,选择默认的"Standard VM", 点击"Next >", 点击"JRE home"右边的"Directory"选择文件夹E:\Java\jdk1.6.0_38,一路“确定”,回到"Installed JREs"界面,在刚添加的"jdk1.6.0_38"打上勾。
再选择目录树中的"Execution Environments", 点选界面左侧的"J2SE-1.5",然后在右侧点选"jdk1.6.0_38"。如下图
重启Eclipse,一切OK了。
另外,在eclipse.ini文件中加了两行(一定要加在-vmargs之前,而且-vm后面有回车):
-vm
E:/Java/jdk1.6.0_38/bin/javaw.exe
E:/Java/jdk1.6.0_38/bin/javaw.exe
相关推荐
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.首先确定你...
ojdbc6-11.2.0.1.0 解决问题: Could not find artifact com.oracle:ojdbc6:pom:11.2.0.1.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 安装本地...
解决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...
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.springsource.org.aspectj.weaver-1.6.8.jar
ojdbc6-11.2.0.1.0jar,oracle连接ojdbc6-11.2.0.1.0jar
在maven中配置的阿里云仓库无法下载com.aspose:aspose:jar:19,所以自己找的资源,很麻烦,为了方便兄弟们给你们了。
缺少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
数据库连接包,下载解压,使用命令 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. 错误
Description Resource Path Location Type Missing artifact com.sun.jmx:jmxri:jar:1.2.1 pom.xml /eshop-storm line 2 Maven Dependency Problem
Could not find artifact org.apache.phoenix:phoenix-core:jar:4.4.0.2.3.4.0-3347,或者hbase、grafana、hadoop 和官方的其实是一样的,放心下载, 原名称是grafana-2.6.0.linux-x64.tar.gz,改下包名即可
解决maven项目找不到tools-1.8.0.jar的问题,缺失tools-1.8.0.jar包
Missing artifact com.oracle:ojdbc14:jar:10.2.0.3.0-附件资源
org / pentaho / pentaho-aggdesigner-algorithm / 5.1.5-jhyde / pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar,解决maven引入hive的jar包时依赖报错Could not find artifact org.pentaho:pentaho-aggdesigner-...
aspose-words-jdk16-14.9.0 maven仓库没有的版本,需要手动添加到仓库,附上命令:install:install-file -Dfile="H:\\14.9.0\\aspose-words-jdk16-14.9.0.jar" -DgroupId=...
使用logstash连接oracle的时候必须使用匹配ojdbc,不然会报错Java:oracle.jdbc.driver.OracleDriver not loaded. Are you sure you've included the correct jdbc driver in :jdbc_driver_library? 一个是oracle11.1....