java.lang.NoClassDefFoundError

tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • [1.2] Deploying on windows in servlet container
    via by Marcel Klemenz,
  • I have updated aptana to the latest beta version available (Aptana Studio 3, build: 3.0.5.201109161720) and editors are not works anymore. Error title: Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml. I get the following errors when open *.txt files: {code} java.lang.NoClassDefFoundError: com/aptana/editor/common/AbstractThemeableEditor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580) ... {code} *.php files: {code} org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.aptana.editor.common (441). at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393) ... {code} I've tried to cancel the latest update but this also gives me error: {code} An error occurred while collecting items to be installed session context was:(profile=AptanaProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: org.eclipse.update.feature,com.aptana.feature,3.0.4.1316121758-BJ7D8HBWHCz0z0dyfc51DC34EViB No repository found containing: org.eclipse.update.feature,com.aptana.feature.rcp,3.0.5.201109151555-7k7aDYFFtFz01NmOz-3h4U0FIZfn No repository found containing: org.eclipse.update.feature,com.aptana.feature.studio,3.0.5.201109151520-7E37D7HFENG_LaLQ4S_IyJetqJii No repository found containing: org.eclipse.update.feature,com.aptana.php.feature,3.0.3.1315606822-7D-27CE8KN5NTBB No repository found containing: org.eclipse.update.feature,org.radrails.rails,3.0.3.201109151515-7e-7Q7f4b9IeYwGW {code}
    via by Vova Yatsyuk,
    • java.lang.NoClassDefFoundError: javax/servlet/AsyncListener ,can anyone guide me to come out of from this problem java.lang.NoClassDefFoundError: javax/servlet/AsyncListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source)

    Users with the same issue

    GhostsGhosts
    12 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    davidvanlaatumdavidvanlaatum
    1 times, last one,
    DannyDBagDannyDBag
    12 times, last one,
    139 more bugmates