GEF4 Setup Error - FXCanvas cannot be resolved to a type [message #1701814] |
Wed, 15 July 2015 23:37 |
Patrik Suzzi Messages: 2 Registered: February 2018 |
Junior Member |
|
|
Hallo,
I tried to setup the development environment for GEF4, as specified in the GEF Contributor guide, and I found the following error:
FXCanvas cannot be resolved to a type.
(se attached file)
This error is persistent, and it seems i am not able to find a solution despite I tried multiple times to setup the environment, as specified in the GEF/GEF4 contributor guide .
This is the list of steps I followed for the setup
- Check Java 8 (oracle) is installed, that is required by the e(fx)clipse plugin.
- Download Eclipse IDE for Eclipse Committers. In my case: eclipse-committers-mars-R-win32.zip
- Install plugins needed by GEF4, in my case:
- e(fx)clipse - IDE, from http://download.eclipse.org/efxclipse/simrel-contrib/mars/m7/tools/site
- e(fx)clipse - IDE - PDE, from http://download.eclipse.org/efxclipse/simrel-contrib/mars/m7/tools/site
- API Tools Execution Environment Descriptions, from: http://download.eclipse.org/eclipse/updates/4.5-I-builds
- Oomph Version Management, from: http://download.eclipse.org/releases/mars'
- Maven Integration for Eclipse (includes Incubating components), from: http://download.eclipse.org/releases/mars
- Clone the GEF4 Git repository and import the projects in the workspace
- Set MARS.target: from org.eclipse.gef4.target project, double click the target definition, wait for the target is fully resolved, and click on "set as target platform".
- Adjust preferences. select Menu > Window > Preferences:
- Java > Compiler > Errors/Warnings: ignore the "Deprecated and restricted API"
- Plug-in Development > Compilers: Ignore the "References to discouraged classes"
At the end of the setup, I can not compile the GEF4 project, because "FXCanvas cannot be resolved to a type. "
See image.
Does anyone has an idea on how to fix this ?
Kind Regards.
Patrik
[Updated on: Wed, 15 July 2015 23:39] by Moderator Report message to a moderator
|
|
|
|
Re: GEF4 Setup Error - FXCanvas cannot be resolved to a type [message #1701835 is a reply to message #1701828] |
Thu, 16 July 2015 06:46 |
|
I updated the respective section of the contributor guide to make it even more explicit, why the "Specify Execution Environment for J2SE-1.7 (and optionally J2SE-1.8)" is important. I also saw that the guide still listed the e(fx)clipse 2.0.0 Mars M7 contribution. I updated it to refer to the e(fx)clipse 2.0.0 Mars release. You might want to update your IDE accordingly.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06018 seconds