IDE:e(fx)clipse 无法正常工作 [英] IDE: e(fx)clipse not working properly

查看:32
本文介绍了IDE:e(fx)clipse 无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下问题:

我在 Eclipse 中安装了 e(fx)clipse 以启用 JavaFX 兼容性.它正确地创建了以下内容:

I have installed e(fx)clipse in Eclipse to enable JavaFX compatibility. It properly created the following:

  • CSS 和 FXML 文件与正确的编辑器相关联(来自文件关联")

它无法正常运行,因为它没有执行以下操作:

It is not functioning properly, because it lacks to do the following:

  • 它为我的 CSS 中的每个条目显示 Unknown property: -fx-.....
  • 它不会在 FXML 和 CSS 文件中自动完成.
  • 一直显示:控制器'someController'没有字段'someField',而字段是在控制器中初始化的.
  • It shows Unknown property: -fx-.... for every entry in my CSS.
  • It does not autocomplete in both the FXML and CSS files.
  • It keeps showing: The controller 'someController' has no field 'someField', while the fields are initiated in the controller.

我已经尝试解决的问题:

What I already tried to fix this:

  • 将 JavaFX SDK 添加到项目库中.
  • 检查了 Eclipse 的已安装软件部分,但所有 e(fx)clipse 软件包均已正确安装.
  • 从头开始创建一个新的 JavaFX 项目.

这并没有解决问题.我认为这与添加库有关,因为当我添加 JavaFX SDK 并单击下一步"时,我会看到一个空白屏幕,我必须单击完成".当我这样做时,它只会添加 org.eclipse.fx.ide.css.jfx8.这只是正常的,还是应该有更多的包?

This didn't fix the problem. I think it has something to do with adding the library, because when I add JavaFX SDK and click 'Next', I get a blanco screen and I have to click 'Finish'. When I do, it only adds org.eclipse.fx.ide.css.jfx8. Is this just normal, or should there be more packages?

我正在使用 Eclipse Luna 4.4.1 和 Java JDK 8u40.

I am using Eclipse Luna 4.4.1 and Java JDK 8u40.

非常感谢任何帮助!

推荐答案

我在安装 Eclipse Web 开发者工具和 Eclipse Java Web 开发者工具后解决了这个问题.

I got this problem solved after installing Eclipse web developer tools and Eclipse Java web developer tools.

这篇关于IDE:e(fx)clipse 无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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