Message frameworkevent error eclipse как исправить

I had this exact same problem. I managed to get my bundle to run by creating a new run configuration and deselecting all bundles, adding my bundle and then clicking on Add Required Bundles.

I don’t know why this second run configuration works and the first doesn’t, I have looked at both .launch files and they are identical.

What seems to be happening is that one run config is running all available bundles even though only three are selected in the gui. If you enter the ss command in the osgi console once all the errors are finished I get 1182 bundles launched for the broken launch config, where as the working config just gives me the correct 3.

You should try to create a new launch config and see if that sorts it, I don’t know why the new one works for me but it did, hope this helps.

Output of working config ss:

id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.7.2.dist
                    Fragments=1
1       RESOLVED    javax.transaction_1.1.1.v201105210645
                    Master=0
2       ACTIVE      com.javaworld.sample.HelloWorld_1.0.0.qualifier

Last few lines of broken config ss:

1040    ACTIVE      org.sonatype.m2e.mavenarchiver_0.15.0.201212080009
1041    ACTIVE      org.testng.eclipse_6.8.0.20121120_1820
1042    ACTIVE      org.uddi4j_2.0.5.v200805270300
1043    ACTIVE      org.w3c.css.sac_1.3.0.v200805290154
1044    ACTIVE      org.w3c.dom.smil_1.0.0.v200806040011
1045    ACTIVE      org.w3c.dom.svg_1.1.0.v201011041433
1046    ACTIVE      org.w3c.sac_1.3.0.v20120213
1155    <<LAZY>>    org.eclipse.equinox.simpleconfigurator_1.0.200.dist
1182    <<LAZY>>    org.eclipse.equinox.initializer_1.0.0.dist

!SESSION 2018-02-04 17:36:36.875 ————————————————
eclipse.buildId=debbuild
java.version=9.0.4
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ru_RU
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2018-02-04 17:36:37.499
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle «org.eclipse.equinox.simpleconfigurator_1.0.301.dist [1]» could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 4 0 2018-02-04 17:36:37.507
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar was not resolved.

!ENTRY org.eclipse.osgi 2 0 2018-02-04 17:36:37.516
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-04 17:36:37.516
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2018-02-04 17:36:37.516
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter=»(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))».

!ENTRY org.eclipse.osgi 2 0 2018-02-04 17:36:37.518
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-04 17:36:37.518
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.301.dist [1] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2018-02-04 17:36:37.518
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter=»(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))».

!ENTRY org.eclipse.osgi 4 0 2018-02-04 17:36:37.528
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Последний раз редактировалось пользователем 1 rogoznik; всего редактировалось раз: 4

Причина: BBcode


0

2

SESSION 2021-01-26 09:57:22.521 ———————————————–
eclipse.buildId=unknown
java.version=11.0.9.1
java.vendor=Debian
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ru_RU
Command-line arguments: -os linux -ws gtk -arch x86_64 -clean

!ENTRY com.e1c.g5.dt.cloud.launcher.application 4 0 2021-01-26 09:57:25.499
!MESSAGE FrameworkEvent ERROR
!STACK 0v

<——>at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
Caused by: java.lang.NoClassDefFoundError: javafx/collections/ObservableList
<——>at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)

Caused by: java.lang.ClassNotFoundException: javafx.collections.ObservableList cannot be found by com.e1c.g5.dt.cloud.launcher.application_0.2.0.171

0 / 0 / 0

Регистрация: 07.02.2019

Сообщений: 2

1

07.02.2019, 12:16. Показов 2201. Ответов 4


Студворк — интернет-сервис помощи студентам

Ребят пишу сюда, потому что не нашла темы при Eclipse.
прохожу курс основ тестирования и уже на первом уроке проблемы ((
по инструкции поставила Java SE 11.0.2(LTS) Oracle JDK и Eclipse. При запуске выдает ошибку An error has occured. В логе пишет:
!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2019-02-07 12:02:03.724
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle «org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635 [1]» could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(Abstrac tBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureExce ption(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java: 323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.ja va:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1 176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLe velManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLe velManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelMan ager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Start LevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLe velManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLe velManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java :230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.ja va:340)

помогите пожалуйста )), что не правильно сделала?



0



0 / 0 / 0

Регистрация: 07.02.2019

Сообщений: 2

07.02.2019, 12:18

 [ТС]

2

вот сам файл



0



216 / 176 / 78

Регистрация: 13.04.2014

Сообщений: 662

07.02.2019, 15:24

3

Возможно старая версия Eclipse. Если да, то попробуй скачать и запустить свежую версию



0



Welemir1

08.02.2019, 20:41


    Java SE и Eclipse. как подружить?

Не по теме:

Цитата
Сообщение от Alexandra Tai
Посмотреть сообщение

основ тестирования

для основ тестирования нужна джава?

Цитата
Сообщение от Alexandra Tai
Посмотреть сообщение

что не правильно сделала?

не тот курс выбрала, раз эклипс просят )



0



IT_Exp

Эксперт

87844 / 49110 / 22898

Регистрация: 17.06.2006

Сообщений: 92,604

08.02.2019, 20:41

Eclipse, как установить версию Java на 8
Добрый день,
поступила задача переписать код c С# на java.
Задачу выполнил, код переписал все…

Как открыть файл в Java eclipse mars?
Есть файл который нужно, открыть, но увы у меня не получается. Открывают из папки src, но коды не…

Как сделать присваивание 2 картинок ImageIcon на Java Eclipse?
Всем привет.
Ребят, делаю игру, столкнулся с проблемой в папке &quot;res&quot; у меня есть 2 картинки:…

Как установить JavaFX 2.x в Eclipse IDE for Java EE Developers
Сабж… Никак не могу найти подходящий плагин… Кто-нить помогите :)

Как очистить launch configuration eclipse java export?
в eclipse появилась сложность при экспорте. я много создавал классов, но большинство уже не…

Android java(eclipse) mysql как сделать коннект?
Добрый день, форумчане. Помогите, пожалуйста, с вопросом. 2-й день пытаюсь добится результата….

Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:

5

After upgrading a eclipse neon install to 2019 12, I get the following errors when I launch eclipse:

org.osgi.framework.BundleException: Could not resolve module: org.eclipse.epp.mpc.core [314]
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.epp.mpc.ui [316]
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.p2.discovery.compatibility [341]
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.userstorage [803]
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.userstorage.ui [804]

I am a beginner with eclipse, so please tell me how to proceed to fix these errors.

asked Feb 3, 2020 at 19:38

Eric Malalel's user avatar

6

Load 7 more related questions

Show fewer related questions

Понравилась статья? Поделить с друзьями:
  • Как составить наряды строительных работ
  • Как найти нечетные делители числа 2184
  • Как найти гта майнкрафт
  • Как составить бизнес план руководителя
  • Оп 2 1 боров стал врагом как исправить