I am migrating an Eclipse application from Java 11 to Java 21 and from Eclipse version 4.16 to Eclipse 4.33. The application launches and works fine in the local workspace. However, after exporting it as an Eclipse product, I encounter an issue when OSGI tries to load the .eclipse.sphinx.platform
plugin. The following errors are logged:
.osgi.framework.BundleException: Exception in .eclipse.sphinx.platform.internal.Activator.start() of bundle .eclipse.sphinx.platform.
Caused by: java.lang.IllegalStateException: Workspace is already closed or not ready yet. Consider tracking the .eclipse.core.resources.IWorkspace service (using your favorite technique, e.g. Declarative Services, ServiceTracker, Blueprint, ...) instead of calling the static method here to prevent such issues!
at .eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:522)
Details:
Eclipse Version: 4.33
Java Version: 21
Sphinx Version: 0.13.0
Observations:
Another product using the .eclipse.sphinx.platform plugin works fine. I have updated the classpaths of the plugins to Java 8.
Launch configuration:
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744814877a4595262.html
评论列表(0条)