java.lang.NoClassDefFoundError: org/mule/ide/core/distribution/MuleFullDistribution$2

MuleSoft JIRA | Dmitry Seminikhin | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Produces Internal error during Initializing Java Tooling during startup after switching from Mule 1.3 to Mule 1.4 distribution. From Eclipse 3.2 log: !ENTRY org.eclipse.core.jobs 4 2 2007-11-07 12:38:29.171 !MESSAGE An internal error occurred during: "Initializing Java Tooling". !STACK 0 java.lang.NoClassDefFoundError: org/mule/ide/core/distribution/MuleFullDistribution$2 at org.mule.ide.core.distribution.MuleFullDistribution.findCoreJarPath(MuleFullDistribution.java:231) at org.mule.ide.core.distribution.AbstractMuleDistribution.initialize(AbstractMuleDistribution.java:37) at org.mule.ide.core.distribution.MuleDistributionFactory.createMuleDistribution(MuleDistributionFactory.java:39) at org.mule.ide.core.distribution.MuleDistributionClasspathInitializer.initialize(MuleDistributionClasspathInitializer.java:68) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073) at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:107) at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84) at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:61) at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:57) at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:29) at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1705) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:155) at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:397) at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:2855) at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) -------------------------- The following preserves current behaviour for 1.3 and changes it in accordance with 1.4 distribution structure for other releases. May be also changed to "if (1.4) then new else old" to support 1.3- but dissuport 1.4+ (if any) releases. public File getSourcePath() { if (getVersion().startsWith("1.3")) { if (getName().equals(CORE_BUNDLE_NAME)) { return new File(getLocation(), "src/core/target/mule-core-" + getVersion() + "-sources.jar"); } else if (getName().startsWith(MODULE_PREFIX)) { String moduleName = getName().substring( MODULE_PREFIX.length()); return new File(getLocation(), "src/modules/" + moduleName + "/target/mule-" + getName() + "-" + getVersion() + "-sources.jar"); } else if (getName().startsWith(TRANSPORT_PREFIX)) { String transportName = getName().substring( TRANSPORT_PREFIX.length()); return new File(getLocation(), "src/transports/" + transportName + "/target/mule-" + getName() + "-" + getVersion() + "-sources.jar"); } } else { if (getName().startsWith(MODULE_PREFIX) || getName().startsWith(TRANSPORT_PREFIX) || getName().equals(CORE_BUNDLE_NAME)) return new File(getLocation(), "src/mule-" + getVersion() + "-src.zip"); else return new File(getLocation() , "src"); } return null; }

    MuleSoft JIRA | 9 years ago | Dmitry Seminikhin
    java.lang.NoClassDefFoundError: org/mule/ide/core/distribution/MuleFullDistribution$2
  2. 0

    Produces Internal error during Initializing Java Tooling during startup after switching from Mule 1.3 to Mule 1.4 distribution. From Eclipse 3.2 log: !ENTRY org.eclipse.core.jobs 4 2 2007-11-07 12:38:29.171 !MESSAGE An internal error occurred during: "Initializing Java Tooling". !STACK 0 java.lang.NoClassDefFoundError: org/mule/ide/core/distribution/MuleFullDistribution$2 at org.mule.ide.core.distribution.MuleFullDistribution.findCoreJarPath(MuleFullDistribution.java:231) at org.mule.ide.core.distribution.AbstractMuleDistribution.initialize(AbstractMuleDistribution.java:37) at org.mule.ide.core.distribution.MuleDistributionFactory.createMuleDistribution(MuleDistributionFactory.java:39) at org.mule.ide.core.distribution.MuleDistributionClasspathInitializer.initialize(MuleDistributionClasspathInitializer.java:68) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073) at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:107) at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84) at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:61) at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:57) at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:29) at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1705) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:155) at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:397) at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:2855) at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) -------------------------- The following preserves current behaviour for 1.3 and changes it in accordance with 1.4 distribution structure for other releases. May be also changed to "if (1.4) then new else old" to support 1.3- but dissuport 1.4+ (if any) releases. public File getSourcePath() { if (getVersion().startsWith("1.3")) { if (getName().equals(CORE_BUNDLE_NAME)) { return new File(getLocation(), "src/core/target/mule-core-" + getVersion() + "-sources.jar"); } else if (getName().startsWith(MODULE_PREFIX)) { String moduleName = getName().substring( MODULE_PREFIX.length()); return new File(getLocation(), "src/modules/" + moduleName + "/target/mule-" + getName() + "-" + getVersion() + "-sources.jar"); } else if (getName().startsWith(TRANSPORT_PREFIX)) { String transportName = getName().substring( TRANSPORT_PREFIX.length()); return new File(getLocation(), "src/transports/" + transportName + "/target/mule-" + getName() + "-" + getVersion() + "-sources.jar"); } } else { if (getName().startsWith(MODULE_PREFIX) || getName().startsWith(TRANSPORT_PREFIX) || getName().equals(CORE_BUNDLE_NAME)) return new File(getLocation(), "src/mule-" + getVersion() + "-src.zip"); else return new File(getLocation() , "src"); } return null; }

    MuleSoft JIRA | 9 years ago | Dmitry Seminikhin
    java.lang.NoClassDefFoundError: org/mule/ide/core/distribution/MuleFullDistribution$2

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/mule/ide/core/distribution/MuleFullDistribution$2

      at org.mule.ide.core.distribution.MuleFullDistribution.findCoreJarPath()
    2. org.mule.ide
      MuleDistributionClasspathInitializer.initialize
      1. org.mule.ide.core.distribution.MuleFullDistribution.findCoreJarPath(MuleFullDistribution.java:231)
      2. org.mule.ide.core.distribution.AbstractMuleDistribution.initialize(AbstractMuleDistribution.java:37)
      3. org.mule.ide.core.distribution.MuleDistributionFactory.createMuleDistribution(MuleDistributionFactory.java:39)
      4. org.mule.ide.core.distribution.MuleDistributionClasspathInitializer.initialize(MuleDistributionClasspathInitializer.java:68)
      4 frames
    3. JDT Core
      JavaCore.initializeAfterLoad
      1. org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
      2. org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
      3. org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
      4. org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
      5. org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
      6. org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:107)
      7. org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84)
      8. org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:61)
      9. org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:57)
      10. org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:29)
      11. org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1705)
      12. org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:155)
      13. org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:397)
      14. org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:2855)
      14 frames
    4. Java Development Tools UI
      InitializeAfterLoadJob$RealJob.run
      1. org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35)
      1 frame
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
      1 frame