pom.xml Missing artifact com.sun:tools:jar:1.5.0
来源:互联网 发布:orcal数据库 编辑:程序博客网 时间:2024/05/05 23:12
这个问题一般是由于使用了eclipse插件引起的,在使用一些框架时候,需要依赖com.sun的default-tools.jar,
是由于${java.home}的引起的,eclipse没有使用JAVA_HOME
eclipse默认使用的是 C:/windows/system32/javaw.exe作为JVM,所以找不到tools.jar
解决方式:修改eclipse.ini ,指定eclipse的JVM
添加:
-vm
"C:\Program Files\Java\jdk1.6.0_22\bin"
指定了对应的路径之后发现还是有问题,报maven missing tools.jar
解决方式:在pom.xml加入依赖
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6.0</version>
<scope>system</scope>
<systemPath>C:/Program Files/Java/jdk1.6.0_22/lib/tools.jar</systemPath>
</dependency>
是由于${java.home}的引起的,eclipse没有使用JAVA_HOME
eclipse默认使用的是 C:/windows/system32/javaw.exe作为JVM,所以找不到tools.jar
解决方式:修改eclipse.ini ,指定eclipse的JVM
添加:
-vm
"C:\Program Files\Java\jdk1.6.0_22\bin"
指定了对应的路径之后发现还是有问题,报maven missing tools.jar
解决方式:在pom.xml加入依赖
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6.0</version>
<scope>system</scope>
<systemPath>C:/Program Files/Java/jdk1.6.0_22/lib/tools.jar</systemPath>
</dependency>
- pom.xml Missing artifact com.sun:tools:jar:1.5.0
- pom.xml 文件报错 Missing artifact com.sun:tools:jar:1.5.0:system
- maven project pom.xml 报Missing artifact com.sun:tools:jar:1.5.0:system
- Pom.xml文件中最上方有错,提示Missing artifact com.sun:tools:jar:1.5.0:system
- Missing artifact com.sun:tools:jar:1.5.0 Maven依赖管理pom.xml中添加struts2-core包后报错的解决办法
- Missing artifact com.sun:tools:jar:1.5.0:system 补充
- Missing artifact com.sun:tools:jar:1.5.0:system
- Missing artifact com.sun:tools:jar:1.5.0:system解决办法
- Missing artifact com.sun:tools:jar:1.5.0
- Missing artifact com.sun:tools:jar:1.5.0 问题解决
- 【Maven】Missing artifact com.sun:tools:jar:1.5.0
- Missing artifact com.sun:tools:jar 1.5.0 终极解决方法
- Missing artifact com.sun:tools:jar:1.5.0:system 问题
- Missing artifact com.sun:tools:jar:1.5.0:system 解决方法
- maven Missing artifact com.sun:tools:jar:1.5.0
- Missing artifact com.sun:tools:jar 1.5.0 终极解决方法
- Missing artifact com.sun:tools:jar 1.5.0
- Missing artifact com.sun:tools:jar:1.5.0:system 解决方法
- 标准库函数perror用法(打印出错误原因信息字符串)
- oracle插入
- MySQL导入.sql文件及常用命令
- 如何阅读开源代码
- 主流的的 CSS 清理浮动方式
- pom.xml Missing artifact com.sun:tools:jar:1.5.0
- __attribute__ ((packed)) 的作用
- 通过指针将float数据转换成两相unsigned short数据
- LUA的堆栈问题
- hibernate查询与缓存
- Web开发中特殊字符的处理
- java计算时间差,精确到纳秒
- vb 简单If条件语句
- IOS开发之xcode 4设置应用程序图标及加载图片