Jaspersoft Studio 6.2构建路径警告 [英] Jaspersoft Studio 6.2 Build Path Warning

查看:327
本文介绍了Jaspersoft Studio 6.2构建路径警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了Jasperserver和Jaspersoft Studio来与JasperReports合作。在创建与PostgreSQL数据库的数据库连接并从该数据库构建报告后,我在Jaspersoft Studio中收到以下警告,我无法解决该问题。

I've recently installed Jasperserver and Jaspersoft Studio to work with JasperReports. After creating a database connection to my PostgreSQL database and building a report from that database, I'm getting the following warning in Jaspersoft Studio, which I've been unable to resolve.

Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment.

我发现配置没有关联的JRE系统库,所以我尝试使用JRE系统与Jaspersoft Studio一起安装的库[JavaSE-1.6],无法解决问题。我也试过使用jre.linux.gtk.x86_64.feature_1.8.0.u65和CDC-1.0 / Foundation-1.0(jre.linux.gtk.x86_64.feature_1.8.0.u65)但没有成功。

I found the configuration didn't have an associated JRE System Library, so I tried using the JRE System Library [JavaSE-1.6] installed with Jaspersoft Studio, which does not resolve the problem. I have also tried to use jre.linux.gtk.x86_64.feature_1.8.0.u65, and CDC-1.0/Foundation-1.0(jre.linux.gtk.x86_64.feature_1.8.0.u65) without success.

这一定是配置问题,但我无法在网上找到资源来解决配置问题。

This must be a configuration issue, but I've been unable to locate a resource on the web to resolve the configuration problem.

推荐答案

如果您不熟悉Eclipes环境和Jaspersoft Studio,这个完整的答案将帮助您成功删除警告。

If you are new to the Eclipes environment and to Jaspersoft Studio, this complete answer will help you achieve success in removing the warning.


  1. 在项目视图中激活项目后,从主菜单栏中选择项目,并在下拉列表底部选择属性选项。如果项目未处于活动状态,则将禁用属性。要激活属性选项,请在中间窗格中选择IDE页面下三分之一附近的设计视图,然后在设计视图的页面区域内单击。 Project 菜单中的属性不应处于活动状态。

  2. 在对话框的最左侧面板中,选择Java Build Path 来自可用选项。

  3. 添加库来自对话框最右侧的按钮。

  4. 选择 JRE系统库来自选项,下一步> 按钮。

  5. 选择执行环境:单选选项,该选项应自动填充JRE系统库可用。如果没有,请尝试使用Alternate JRE:。所有这一步都假定您的系统上安装了JRE,而不是Jaspersoft Studio安装的默认库。

  6. 选择完成按钮。

  7. 此步骤很重要,因为如果您在默认情况下不删除项目中安装的库,则警告不会消失。从标记为构建路径上的JAR和类文件夹:的中间部分选择JRE系统库[J2SE 1.6],选择右侧的删除按钮。

  8. 选择应用按钮,然后选择确定按钮。

  1. With the project active in the Design view, select Project from the main menu bar and the Properties option at the bottom of the dropdown. If your project is not active, Properties will be disabled. To activate the Properties option, select the Design view near the lower one third of the IDE page in the middle pane, then click inside the page area of your design view. Not Properties in the Project menu should be active.
  2. In the far left panel of the dialog, select the "Java Build Path" from the available options.
  3. Add Library from the buttons in the far right of the dialog.
  4. Select "JRE System Library" from the options, and the Next > button.
  5. Select the "Execution environment:" radio option, which should automatically populate the JRE System Library available. If it doesn't, try using the "Alternate JRE:". All of this step assumes that you have a JRE installed on your system, which is not the default library installed by Jaspersoft Studio.
  6. Select the Finish button.
  7. This step is important, because if you don't remove the library installed in your project by default, the warning will not disappear. Select JRE System Library[J2SE 1.6] from the middle section labeled "JARs and class folders on the build path:", select the Remove button on the right.
  8. Select the Apply button, then the OK button.

此处点,清理你的项目并重建它。警告应该消失。

At this point, clean your project and rebuild it. The warning should be gone.

尽管这个答案特定于Jaspersoft Studio和JRE系统库[J2SE 1.6],但您可以将此解决方案推断为其他平台,但这假设界面没有显着变化。

Even though this answer is specific to Jaspersoft Studio, and the JRE System Library[J2SE 1.6], you may be able to extrapolate this solution to other platforms, but this assumes the interface has not significantly changed.

这篇关于Jaspersoft Studio 6.2构建路径警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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