在构建路径中获取JRE系统库未绑定错误 [英] getting JRE system library unbound error in build path
问题描述
在构建路径中获取JRE系统库未绑定错误,尝试了以下链接中的所有建议,但无法正常工作。我有jdk 1.6.0_29,我也试过安装其他版本但没有帮助。
getting a JRE system library unbound error in build path, tried all suggestions from the below links, however did not work. I have jdk 1.6.0_29, I have also tried to install other versions but no help.
JRE系统库[WebSphere v6.1 JRE](未绑定)
Eclipse错误:未绑定的类路径容器
Java - 无限类路径容器Websphere V6 JRE
努力更新Maven和Eclipse中的JRE依赖关系
Eclipse中的未绑定类路径容器
eclipse中的未绑定类路径容器错误?
Java Web Project构建错误
未绑定的类路径eclipse中的容器错误?
maven编译器版本是这样的:
maven compiler version is something like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>${project.build.sourceEncoding}</encoding>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
推荐答案
另一种选择是:
- 项目>属性> Java构建路径
- 选择库选项卡
- 选择麻烦JRE条目
- 单击编辑按钮
- 选择备用JRE
- 单击完成按钮
- Project > Properties > Java Build Path
- Select Libraries tab
- Select the troublesome JRE entry
- Click Edit button
- Choose an alternate JRE
- Click Finish button
将项目指向已安装的JRE可能是比重命名JRE以匹配旧项目代码更好的选择。
Pointing the project at your installed JRE might be a better choice than renaming your JRE to match the old project code.
这篇关于在构建路径中获取JRE系统库未绑定错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!