在eclipse中编写maven 的pom的时候,应用了struts2 core之后报上面这个错:
Missing artifact com.sun:tools:jar:1.5.0
解决方法:
-vm
D:\Program Files\Java\jdk1.6.0_16\bin
我的eclipse是3.6,改了之后的eclipse.ini文件如下:
引用
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
D:\Program Files\Java\jdk1.6.0_16\bin
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
然后运行project->clean,这个时候pom.xml重新编译就ok了。
注意我使用的jdk是1.6,机器上不需要安装1.5的jdk来解决这个问题。
分享到:
相关推荐
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. 错误
缺少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
Missing artifact com.oracle:ojdbc14:jar:10.2.0.3.0-附件资源
在maven中配置的阿里云仓库无法下载com.aspose:aspose:jar:19,所以自己找的资源,很麻烦,为了方便兄弟们给你们了。
Description Resource Path Location Type Missing artifact com.sun.jmx:jmxri:jar:1.2.1 pom.xml /eshop-storm line 2 Maven Dependency Problem
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 谷歌验证码依赖下载
解决maven项目找不到tools-1.8.0.jar的问题,缺失tools-1.8.0.jar包
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
Maven坐标:com.github.miemiedev:mybatis-paginator:1.2.15; 标签:github、miemiedev、mybatis、paginator、中文文档、jar包、java; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览...
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
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=文件路径\spire.xls....
java jar包 javax.media:jai_core:1.1.3.jar 用于maven下载不下来。。。