facebook

errors activating bundle org.eclipse.jst.j2ee (1255).

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #263161 Reply

    gnuphie
    Member

    In addition to my previous post, whenever I pull up a source document I get an error (attached).

    These problems occurred after upgrading first to Eclipse 3.2.1, then to MyEclipse 5.1 (plugin).

    I would consider reinstalling from scratch everything, but not if this is a known issue with Mac OS X.

    My configuration:

    Hardware Overview:

    Machine Name: MacBook Pro 17″
    Machine Model: MacBookPro1,2
    Processor Name: Intel Core Duo
    Processor Speed: 2.16 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache (per processor): 2 MB
    Memory: 2 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MBP12.0061.B03
    SMC Version: 1.5f10

    eclipse.buildId=I20060602-1317
    java.version=1.5.0_06
    java.vendor=Apple Computer, Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
    Framework arguments: -keyring /Users/richardd/.eclipse_keyring -showlocation -product com.genuitec.myeclipse.product.ide -product com.genuitec.myeclipse.product.ide
    Command-line arguments: -os macosx -ws carbon -keyring /Users/richardd/.eclipse_keyring -consoleLog -showlocation -product com.genuitec.myeclipse.product.ide -product com.genuitec.myeclipse.product.ide

    org.osgi.framework.BundleException: Exception in org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin.start() of bundle org.eclipse.jst.j2ee.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.wst.validation.internal.plugin.ValidationHelperRegistryReader.readElement(ValidationHelperRegistryReader.java:54)
    at org.eclipse.jem.util.RegistryReader.internalReadElement(RegistryReader.java:84)
    at org.eclipse.jem.util.RegistryReader.readRegistry(RegistryReader.java:125)
    at org.eclipse.wst.validation.internal.plugin.ValidationHelperRegistryReader.getInstance(ValidationHelperRegistryReader.java:38)
    at org.eclipse.wst.validation.internal.ValidatorMetaData.checkIfValidSourceFile(ValidatorMetaData.java:345)
    at org.eclipse.wst.validation.internal.ValidatorMetaData.isApplicableTo(ValidatorMetaData.java:329)
    at org.eclipse.wst.validation.internal.ValidatorMetaData.isApplicableTo(ValidatorMetaData.java:321)
    at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:397)
    at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:431)
    at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:496)
    at org.eclipse.wst.validation.internal.FilterUtil$2.visit(FilterUtil.java:707)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:55)
    at org.eclipse.wst.validation.internal.FilterUtil.loadDeltas(FilterUtil.java:722)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.loadFileDeltas(ValidationOperation.java:548)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.getFileDeltas(ValidationOperation.java:518)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.preValidate(ValidationOperation.java:833)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.run(ValidationOperation.java:660)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.build(ValidationBuilder.java:210)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:145)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
    Caused by: java.lang.LinkageError: Class org/eclipse/emf/common/util/URI violates loader constraints
    at org.eclipse.jst.j2ee.internal.J2EEConstants.<clinit>(J2EEConstants.java:25)
    at org.eclipse.jst.j2ee.internal.J2EEInit.initResourceFactories(J2EEInit.java:247)
    at org.eclipse.jst.j2ee.internal.J2EEInit.init(J2EEInit.java:101)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.invokePrereqInits(ArchiveInit.java:65)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.init(ArchiveInit.java:38)
    at org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin.start(J2EEPlugin.java:483)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
    … 50 more
    Root exception:
    java.lang.LinkageError: Class org/eclipse/emf/common/util/URI violates loader constraints
    at org.eclipse.jst.j2ee.internal.J2EEConstants.<clinit>(J2EEConstants.java:25)
    at org.eclipse.jst.j2ee.internal.J2EEInit.initResourceFactories(J2EEInit.java:247)
    at org.eclipse.jst.j2ee.internal.J2EEInit.init(J2EEInit.java:101)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.invokePrereqInits(ArchiveInit.java:65)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.init(ArchiveInit.java:38)
    at org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin.start(J2EEPlugin.java:483)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.wst.validation.internal.plugin.ValidationHelperRegistryReader.readElement(ValidationHelperRegistryReader.java:54)
    at org.eclipse.jem.util.RegistryReader.internalReadElement(RegistryReader.java:84)
    at org.eclipse.jem.util.RegistryReader.readRegistry(RegistryReader.java:125)
    at org.eclipse.wst.validation.internal.plugin.ValidationHelperRegistryReader.getInstance(ValidationHelperRegistryReader.java:38)
    at org.eclipse.wst.validation.internal.ValidatorMetaData.checkIfValidSourceFile(ValidatorMetaData.java:345)
    at org.eclipse.wst.validation.internal.ValidatorMetaData.isApplicableTo(ValidatorMetaData.java:329)
    at org.eclipse.wst.validation.internal.ValidatorMetaData.isApplicableTo(ValidatorMetaData.java:321)
    at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:397)
    at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:431)
    at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:496)
    at org.eclipse.wst.validation.internal.FilterUtil$2.visit(FilterUtil.java:707)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:55)
    at org.eclipse.wst.validation.internal.FilterUtil.loadDeltas(FilterUtil.java:722)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.loadFileDeltas(ValidationOperation.java:548)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.getFileDeltas(ValidationOperation.java:518)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.preValidate(ValidationOperation.java:833)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.run(ValidationOperation.java:660)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.build(ValidationBuilder.java:210)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:145)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

    #263200 Reply

    Haris Peco
    Member

    gnuphie,

    The ‘Java.lang.LinkageError: Class XXX violates loader constraints ‘ message generally means you have two different .class files for the same class, and they’re not compatible (e.g. changed method signature).
    In your case, it is possible that you have incompatible versions emf (e.g emf team move this class in other plugin and you have it in 2 different plugins from 2 emf distributions). It is not MAC specific – it is general Java constraint and reinstalling can help, but you have to install eclipse 3.2.1 and MyEclipse only. You can try install added plugins when you install MyEclipse correctly, but MyEclipse will not work correctly with Callisto’s WTP.

    Regards,

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: errors activating bundle org.eclipse.jst.j2ee (1255).

You must be logged in to post in the forum log in