Importing KNIME Core Components into Eclipse After Successful SDK Setup
Hi KNIME Team,
I attempting to build the KNIME Analytics Platform (version 5.4.4) from source code. Following the instructions in the `knime-sdk-setup` repository, I successfully configured the
KNIME-AP.targetfile and validated that the target platform resolves correctly in Eclipse. However, when importing critical components (e.g.,
knime-core-ui,
knime-workbench), Eclipse consistently throws errors, preventing further progress. Despite reviewing community discussions (thread 1, thread 2), I remain unable to resolve these issues independently.
Below, I detail my environment, steps taken, and specific problems for your reference:
Environment & Setup
KNIME Version: 5.5.0 (branch `analytics-platform/5.5.0`).
Eclipse IDE: Eclipse IDE for RCP Developers (2024-03 release).
Java: JDK 17 (aligned with Eclipse requirements).
Target Platform: `KNIME-AP.target` loaded without errors.
Steps Taken
SDK Setup:
Cloned
knime-sdk-setup, executed
mvn clean installfor the target platform.
Verified `KNIME-AP.target` resolves all dependencies (no missing plugins in Eclipse).
Project Import:
Downloaded source code ZIP files for `knime-core`, `knime-core-ui`, and `knime-workbench` from GitHub and imported them via “Existing Projects into Workspace”.
Error Manifestation:
Dependency Issues: Eclipse reports compilation errors due to unresolved classes (e.g.,
org.eclipse.uiclasses in
knime-core-ui).
JDK Compatibility: Adjusted project-specific JRE settings to JDK 17 (verified via `Java Build Path`).
Specific Queries
1.
Dependency Resolution:
Are additional repositories (beyond
knime-sdk-setup) required for
knime-core-ui? The target platform resolves dependencies, but Eclipse still flags
org.eclipse.uiimports as errors.
1.
Project Import Method:
Could the errors be caused by incorrect import procedures? I downloaded the source ZIPs for `knime-core-ui`, `knime-workbench`, etc. from GitHub and imported them as “Existing Projects into Workspace”. Is this the recommended approach, or should these components be imported differently?
Best regards,
Korn
Note: Attached are snippets of the Eclipse error logs for reference.