Plug-in org.eclipse.jpt.jpa.ui was unable to load class org.eclipse.jpt.jpa.ui.internal.editors.JpaXmlEditor

Asked

Viewed 796 times

0

Everybody, I have an error that just appeared in the eclipse Hello, does anyone know what it might be, some plugin to update? The persistence.xml file does not open and an error appears in the title

Plug-in org.eclipse.jpt.jpa.ui was unable to load class org.eclipse.jpt.jpa.ui.internal.editors.JpaXmlEditor.

org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.jpt.jpa.ui was unable to load 
class org.eclipse.jpt.jpa.ui.internal.editors.JpaXmlEditor.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)


org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:294)


Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.jpt.jpa.ui (414).
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)


Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.jpt.jpa.ui.internal.plugin.JptJpaUiPlugin.start() of bundle org.eclipse.jpt.jpa.ui.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)


Caused by: java.lang.NullPointerException
at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.clearJpaProjects_(InternalJpaProjectManager.java:356)
at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.clearJpaProjects(InternalJpaProjectManager.java:345)

at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
... 150 more
  • Try to better explain the problem, the steps you perform for the presentation of the error, the relationship with the tags that were included in the issue, this would facilitate the reproduction of the problem and suggested solution.

1 answer

0


Personal I managed to solve, thanks for the attention Bruno, I had to update a plugin, and put some versions not so new, probably happened some conflict, the steps were:

Help - Install New Software - Work with - Selected this option below: http://download.eclipse.org/m2e-wtp/releases/luna/1.1

Opened a box of options and marked:

Jboss Web and JavaEE Development

I installed and updated these components, I switched to versions not so recent and everything worked.

Thanks

  • in my case was the website of Jboss - http://download.jboss.org/jbosstools/updates/stable/luna/ ps.: java gives a lot of trouble.. =(

Browser other questions tagged

You are not signed in. Login or sign up in order to post.