Java Web项目构建错误 [英] Java Web Project Build Error

查看:348
本文介绍了Java Web项目构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试构建Eclipse项目时,我收到以下2条错误消息。有人可以告诉我为什么会发生这种情况吗?

I am getting the following 2 error messages, when i try to build my Eclipse project. Can someone tell me why this is occurring ?


说明资源路径位置类型
项目无法构建,直到构建路径错误解决MavenWeb未知Java问题
未绑定的类路径容器:项目'MavenWeb'中的'JRE系统库[jdk1.5.0_10] MavenWeb构建路径构建路径问题

Description Resource Path Location Type The project cannot be built until build path errors are resolved MavenWeb Unknown Java Problem Unbound classpath container: 'JRE System Library [jdk1.5.0_10]' in project 'MavenWeb' MavenWeb Build path Build Path Problem

在项目属性窗口中的 Java构建路径 - > 之下,它说

In the projects property window under Java Build Path --> Libraries and under that it says


JRE系统库[jdk1.5.0_10](unbound)

JRE System Library [jdk1.5.0_10] (unbound)

这是什么意思?

推荐答案

这意味着该项目设置为无法在本地机器上找到。有不同的方法来解决这个问题。一个是,如果您转到Java构建路径页面上的库选项卡,请选择JRE系统库并进行编辑。

That means that the JRE that the project is setup for cannot be found on your local machine. There are different ways to fix this. One being, if you go to the Libraries tab on the Java Build Path page, select the JRE System Library and hit edit.

在此您可以从中选择备用JRE列出已安装的JRE,或选择工作空间默认值。

Here you can select a Alternate JRE from your list of installed JREs, or select the workspace default.

这篇关于Java Web项目构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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