生成 RCP 应用程序未运行生命周期管理器



我希望我解决了我的RCP应用程序的所有插件和依赖性问题。我希望这是我的最后一个问题,因此目前,如果我的LifeCyClemanager没有在构建RCP应用程序中运行的效果。我有几个用户权限,并且将应用程序中的所有视图定义为不可见。

我在Lifecyclemanager中所做的事情: - 打开logindialog - 成功登录后加载我的用户数据 - 设置可见的所有视图,适用于定义的用户权限

所以我当前的RCP开始了,但它是一个空白的窗口。

我已经将日志插入到LifeCyClemanager中,并且在日志中未显示。我在此异常消息上找到了一个Eclipse错误,但是我没有找到解决方案,并且Eclipse错误已经设置为"已解决固定"。

这些是构建RCP应用程序日志中的例外:

!SESSION 2019-02-15 09:09:24.364 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -clearPersistedState
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -clearPersistedState
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:26.616
!MESSAGE Unable to load class 'app.LifeCycleManager' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.LifeCycleManager cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.025
!MESSAGE Unable to load class 'app.application.handler.AboutHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.application.handler.AboutHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.037
!MESSAGE Unable to load class 'app.application.handler.BookingRulesHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.application.handler.BookingRulesHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.044
!MESSAGE Unable to load class 'app.application.handler.ChangePasswordHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.application.handler.ChangePasswordHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.050
!MESSAGE Unable to load class 'app.parts.TimePart.handler.LastYearTimesHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.parts.TimePart.handler.LastYearTimesHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.055
!MESSAGE Unable to load class 'app.application.handler.QuitHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.application.handler.QuitHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.062
!MESSAGE Unable to load class 'app.application.handler.RefreshHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.application.handler.RefreshHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.068
!MESSAGE Unable to load class 'app.parts.TimePart.handler.SubmitHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.parts.TimePart.handler.SubmitHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.075
!MESSAGE Unable to load class 'app.parts.TimePart.handler.UnlockTimeHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.parts.TimePart.handler.UnlockTimeHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.081
!MESSAGE Unable to load class 'app.application.handler.UsersGuideHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.application.handler.UsersGuideHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.088
!MESSAGE Unable to load class 'app.parts.TimePart.handler.HideApprovedTimesHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.parts.TimePart.handler.HideApprovedTimesHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.094
!MESSAGE Unable to load class 'app.parts.activityPart.handler.CollapseAllHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.parts.activityPart.handler.CollapseAllHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.100
!MESSAGE Unable to load class 'app.parts.activityPart.handler.ShowClosedActivitiesHandler' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.parts.activityPart.handler.ShowClosedActivitiesHandler cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ...
!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-02-15 09:09:27.796
!MESSAGE Unable to load class 'app.application.StatusBar' from bundle '4'
!STACK 0
java.lang.ClassNotFoundException: app.application.StatusBar cannot be found by app.rcp_1.0.0.201902150905
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ..

您说您将获得'选项-bootclasspath在logs.zip中为插件的compliance 9及更高版本提供支持。这是Eclipse错误525280。Eclipse PDE构建(您正在使用)对于Java版本9及以上而被打破。由于不再开发PDE,因此似乎没有任何固定的前景。

返回到Java 8或切换到Eclipse Tycho进行构建。

相关内容

  • 没有找到相关文章

最新更新