Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法
来源:互联网 发布:手机吓人软件大全 编辑:程序博客网 时间:2024/06/05 04:06
- <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获取系统的环境变量
原文:http://drizzlewalk.blog.51cto.com/2203401/1054211
- 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
- 10 Powerful Quotes From The Steve Jobs Movie
- what is the difference between jpa and hibernate
- 定时发送短信之AlarmManage,SmsManger的使用
- What To Do When The Boss Begs You To Stay
- 省市县联动
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法
- 配置归档日志双路径
- java源码阅读
- Android EditText样式
- Uva 10047 The Monocycle
- [ACM]Let the Balloon Rise
- wireshark过滤使用
- Android的使用ViewPager简单实例【类似tab翻页】
- 谈谈Java的优点