我将 Java 21 与 Eclipse 目标平台 2024-06 一起使用。
我的 Eclipse RCP 应用程序在 Eclipse IDE 中启动时启动正常。
但是,当我启动捆绑程序时,我看到启动屏幕几秒钟,然后程序意外停止。日志文件中的最后条目包含“框架停止”,最后包含“激活器停止”。
...
2024-06-20T19:38:55,158 INFO [Start Level: Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.service.upnp state: 4 stateName: RESOLVED
2024-06-20T19:38:55,159 INFO [Start Level: Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.service.useradmin state: 4 stateName: RESOLVED
2024-06-20T19:38:55,159 INFO [Start Level: Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.service.wireadmin state: 4 stateName: RESOLVED
2024-06-20T19:38:55,159 INFO [Start Level: Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.util.function state: 4 stateName: RESOLVED
2024-06-20T19:38:55,159 INFO [Start Level: Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.util.promise state: 4 stateName: RESOLVED
2024-06-20T19:38:55,315 DEBUG [Start Level: Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.registry.ApplicationRegistry - Application registry initialized
2024-06-20T19:38:56,007 DEBUG [main][[]] com.retrospective.ui.application.registry.ApplicationInstanceRegistry - Listening for application instances on socket 2029
2024-06-20T19:38:56,476 DEBUG [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.Activator - Activator stopped
2024-06-20T19:38:56,476 INFO [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.eclipse.osgi state: 16 stateName: RESOLVED
2024-06-20T19:38:56,476 INFO [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.eclipse.equinox.simpleconfigurator state: 32 stateName: ACTIVE
2024-06-20T19:38:56,476 INFO [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle com.retrospective.core.api
...
2024-06-20T19:38:56,485 INFO [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.service.wireadmin state: 4 stateName: RESOLVED
2024-06-20T19:38:56,485 INFO [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.util.function state: 4 stateName: RESOLVED
2024-06-20T19:38:56,486 INFO [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.application.ResultServiceTrackerCustomizer - Bundle org.osgi.util.promise state: 4 stateName: RESOLVED
2024-06-20T19:38:56,495 DEBUG [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.core.service.bean.ServiceActivator - Activator stopped
2024-06-20T19:38:56,496 DEBUG [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.ui.table.UITableActivator - UITableActivator stopped
2024-06-20T19:38:56,501 DEBUG [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.core.shell.bean.ShellActivator - Activator stopped
2024-06-20T19:38:56,501 DEBUG [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.core.local.bean.LocalActivator - Activator stopped
2024-06-20T19:38:56,503 DEBUG [Framework stop - Equinox Container: 1e7df525-5ce9-4c9b-b333-aa9125166a4d][[]] com.retrospective.core.kernel.bean.KernelActivator - Activator stopped
我还从
.exe
窗口启动了 cmd
文件,但没有看到可以帮助我找到问题的其他信息。
知道什么可能导致程序停止或者我如何找到问题的原因?