Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法
来源:互联网 发布:手机淘宝看实名认证 编辑:程序博客网 时间:2024/06/03 15:05
2012-11-08 17:03:16
标签:java tool.jar eclipse
- <dependency>
- <groupId>com.sun</groupId>
- <artifactId>tools</artifactId>
- <version>1.5.0</version>
- <scope>system</scope>
- <systemPath>${java.home}/lib/tools.jar</systemPath>
- </dependency>
- -vm
- D:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
- -vmargs
- -Dosgi.requiredJavaVersion=1.6
- -Xms40m
- -Xmx512m
- -XX:PermSize=64M
- -XX:MaxPermSize=512M
- <properties>
- <project.build.sourceEncoding>UTF8</project.build.sourceEncoding>
- <java.home>C:\Program Files\Java\jdk1.6.0_25</java.home>
- </properties>
- <profiles>
- <profile>
- <id>default-tools.jar</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- <property>
- <name>java.vendor</name>
- <value>Sun Microsystems Inc.</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.sun</groupId>
- <artifactId>tools</artifactId>
- <version>1.5.0</version>
- <scope>system</scope>
- <systemPath>${java.home}/lib/tools.jar</systemPath>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
通过profile来设置,方便决定是否启用
解决方案三:
- <dependency>
- <groupId>com.sun</groupId>
- <artifactId>tools</artifactId>
- <version>1.6.0</version>
- <scope>system</scope>
- <systemPath>${env.JAVA_HOME}/lib/tools.jar</systemPath>
- <optional>true</optional>
- </dependency>
直接使用Maven获取系统的环境变量
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.5.0:system 解决方法
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.5.0:system 解决方法
- Eclipse maven工程 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 解决方法
- eclipse在maven出现Missing artifact com.sun:tools:jar:1.5.0:system之完美解决
- eclipse在maven出现Missing artifact com.sun:tools:jar:1.5.0:system之完美解决 (2)
- 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:system 问题
- 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
- maven Missing artifact com.sun:tools:jar:1.5.0
- SSH整合(零配置)
- pci nnote
- notify() and notifyAll():
- 集合(一)
- uva 340
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法
- sqlserver2005使用convert转换日期
- 飘逸的python - 灵活的动态之xxxattr
- HOOK API完全手册(转载+整理)
- js基础篇
- PIE Chapter 6--Java代码
- 首次发布App,In-App Purchase 无法submit for review 问题的解决方案
- CPU寄存器(转载+整理)
- PIE Chapter 7 -- Recursion递归- Java