Не удалось инициализировать класс org.eclipse.m2e.core.ui.internal.mavenimagesJAVA

Программисты JAVA общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Не удалось инициализировать класс org.eclipse.m2e.core.ui.internal.mavenimages

Сообщение Anonymous »

Когда я пытаюсь открыть конфигурацию запуска для моего недавно импортированного проекта Maven. Сообщение об ошибке появляется: < /p>

Код: Выделить всё

An error has occurred.  See error log for more details.
Could not initialize class org.eclipse.m2e.core.ui.internal.MavenImages
< /code>
eclipse.buildId=4.12.0.I20190605-1800
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

This is a continuation of log file C:\Users\me\...\project\.metadata\.bak_0.log
Created Time: 2020-09-02 11:33:42.746

org.eclipse.jface
Error
Wed Sep 02 11:34:39 CEST 2020
Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.lang.NoClassDefFoundError:  C o u l d   n o t   i n i t i a l i z e   c l a s s   o r g . e c l i p s e . m 2 e . c o r e . u i . i n t e r n a l . M a v e n I m a g e s < b r   / >         a t   o r g . e c l i p s e . m 2 e . u i . i n t e r n a l . l a u n c h . M a v e n L a u n c h M a i n T a b . g e t I m a g e ( M a v e n L a u n c h M a i n T a b . j a v a : 1 2 9 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . s h o w I n s t a n c e T a b s F o r ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 9 1 6 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . d i s p l a y I n s t a n c e T a b s ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 8 4 7 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . l a m b d a $ 4 ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 7 3 0 ) < b r   / >         a t   o r g . e c l i p s e . s w t . c u s t o m . B u s y I n d i c a t o r . s h o w W h i l e ( B u s y I n d i c a t o r . j a v a : 7 2 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . i n p u t C h a n g e d ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 7 4 5 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . s e t I n p u t 0 ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 6 7 7 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . s e t I n p u t ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 6 5 7 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:1051)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$4.selectionChanged(LaunchConfigurationsDialog.java:617)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:814)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1183)
at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1206)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:258)
at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:428)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3919)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3550)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1240)
at org.eclipse.debug.ui.DebugUITools.lambda$1(DebugUITools.java:631)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:637)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:575)
at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:85)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:412)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1056)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
< /code>
I tried to clean the plugins cache as suggested here:
https://stackoverflow.com/a/3492924/3014199
Now I get
An error has occurred.  See error log for more details.
org/eclipse/jface/resource/ResourceLocator
< /code>
With stacktrace
java.lang.NoClassDefFoundError:  o r g / e c l i p s e / j f a c e / r e s o u r c e / R e s o u r c e L o c a t o r < b r   / >         a t   o r g . e c l i p s e . m 2 e . c o r e . u i . i n t e r n a l . M a v e n I m a g e s . d o C r e a t e D e s c r i p t o r ( M a v e n I m a g e s . j a v a : 1 3 2 ) < b r   / >         a t   o r g . e c l i p s e . m 2 e . c o r e . u i . i n t e r n a l . M a v e n I m a g e s . c r e a t e D e s c r i p t o r ( M a v e n I m a g e s . j a v a : 1 0 9 ) < b r   / >         a t   o r g . e c l i p s e . m 2 e . c o r e . u i . i n t e r n a l . M a v e n I m a g e s . & l t ; c l i n i t & g t ; ( M a v e n I m a g e s . j a v a : 3 3 ) < b r   / >         a t   o r g . e c l i p s e . m 2 e . u i . i n t e r n a l . l a u n c h . M a v e n L a u n c h M a i n T a b . g e t I m a g e ( M a v e n L a u n c h M a i n T a b . j a v a : 1 2 9 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . s h o w I n s t a n c e T a b s F o r ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 9 1 6 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . d i s p l a y I n s t a n c e T a b s ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 8 4 7 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . l a m b d a $ 4 ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 7 3 0 ) < b r   / >         a t   o r g . e c l i p s e . s w t . c u s t o m . B u s y I n d i c a t o r . s h o w W h i l e ( B u s y I n d i c a t o r . j a v a : 7 2 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . i n p u t C h a n g e d ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 7 4 5 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C o n f i g u r a t i o n s . L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . s e t I n p u t 0 ( L a u n c h C o n f i g u r a t i o n T a b G r o u p V i e w e r . j a v a : 6 7 7 ) < b r   / >         a t   o r g . e c l i p s e . d e b u g . i n t e r n a l . u i . l a u n c h C onfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:657)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:1051)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$4.selectionChanged(LaunchConfigurationsDialog.java:617)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:814)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1183)
at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1206)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:258)
at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:428)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3919)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3550)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1240)
at org.eclipse.debug.ui.DebugUITools.lambda$1(DebugUITools.java:631)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:637)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:575)
at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:85)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:412)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1056)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
Caused by:  java.lang.ClassNotFoundException: org.eclipse.jface.resource.ResourceLocator cannot be found by org.eclipse.m2e.core.ui_1.15.0.20200305-1308
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:512)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:415)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 65 more
< /code>
None of .project
, .settings/, .classpath находится в индексе GIT, все они были сгенерированы с моей машины.

Код: Выделить всё

Could not initialize class org.eclipse.m2e.editor.xml.MvnImages< /code>
and org/eclipse/jface/resource/ResourceLocator
, как и раньше.

Подробнее здесь: https://stackoverflow.com/questions/637 ... avenimages
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «JAVA»