在构建路径中找到JRE系统库未绑定的错误 [英] gettting JRE system library unbound error in build path

查看:778
本文介绍了在构建路径中找到JRE系统库未绑定的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建路径中获取JRE系统库unbound错误,尝试从以下链接的所有建议,但是没有工作。我有jdk 1.6.0_29,我也试图安装其他版本,但没有帮助。



JRE系统库[WebSphere v6.1 JRE](unbound)
Eclipse错误:未绑定的类路径容器
Java - 无界的类路径容器Websphere V6 JRE

Eclipse中的Unbound classpath容器
eclipse中的未绑定类路径容器错误?
Java Web项目构建错误
未绑定的类路径eclipse中的容器错误



maven编译器verison是这样的:

 <插件> 
< 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

  • 单击完成按钮



将项目指向您安装的JRE可能是将重命名为JRE以匹配旧项目代码的更好选择。


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 System Library [WebSphere v6.1 JRE] (unbound) Eclipse error: Unbound classpath container Java - Unbounded classpath container Websphere V6 JRE Struggling to update JRE dependencies within Maven and Eclipse Unbound classpath container in Eclipse unbound class path container error in eclipse? Java Web Project Build Error unbound class path container error in eclipse?

maven compiler verison 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>

解决方案

Another option is:

  • Project > Properties > Java Build Path
  • Select Libraries tab
  • Select the troublesome JRE entry
  • Click Edit button
  • Choose an alternate JRE
  • Click Finish button

Pointing the project at your installed JRE might be a better choice than renaming your JRE to match the old project code.

这篇关于在构建路径中找到JRE系统库未绑定的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆