java.lang.NoClassDefFoundError: com/springsource/sts/maven/MavenCorePlugin$PomResourceChangeListener$PomResourceVisitor

SpringSource Issue Tracker | Patrick Taylor | 5 years ago
  1. 0

    I upgrade from STS 2.8.0 RELEASE to 2.8.1.RELEASE a few days ago. Everything's been working fine. But today, suddenly, I've got an error with description "null" in my Problems view for the pom.xml of all of my projects. My Error Log is showing these errors: Message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". java.lang.NoClassDefFoundError: com/springsource/sts/maven/MavenCorePlugin$PomResourceChangeListener$PomResourceVisitor at com.springsource.sts.maven.MavenCorePlugin$PomResourceChangeListener.getVisitor(MavenCorePlugin.java:203) at com.springsource.sts.maven.MavenCorePlugin$PomResourceChangeListener.resourceChanged(MavenCorePlugin.java:174) at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:156) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Session Data: eclipse.buildId=2.8.1.201111221000-RELEASE java.version=1.7.0_01 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.springsource.sts.ide

    SpringSource Issue Tracker | 5 years ago | Patrick Taylor
    java.lang.NoClassDefFoundError: com/springsource/sts/maven/MavenCorePlugin$PomResourceChangeListener$PomResourceVisitor
  2. 0

    I upgrade from STS 2.8.0 RELEASE to 2.8.1.RELEASE a few days ago. Everything's been working fine. But today, suddenly, I've got an error with description "null" in my Problems view for the pom.xml of all of my projects. My Error Log is showing these errors: Message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". java.lang.NoClassDefFoundError: com/springsource/sts/maven/MavenCorePlugin$PomResourceChangeListener$PomResourceVisitor at com.springsource.sts.maven.MavenCorePlugin$PomResourceChangeListener.getVisitor(MavenCorePlugin.java:203) at com.springsource.sts.maven.MavenCorePlugin$PomResourceChangeListener.resourceChanged(MavenCorePlugin.java:174) at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:156) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Session Data: eclipse.buildId=2.8.1.201111221000-RELEASE java.version=1.7.0_01 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.springsource.sts.ide

    SpringSource Issue Tracker | 5 years ago | Patrick Taylor
    java.lang.NoClassDefFoundError: com/springsource/sts/maven/MavenCorePlugin$PomResourceChangeListener$PomResourceVisitor
  3. 0

    error when installing agent on Jboss server.. - Spring Forum

    spring.io | 1 year ago
    java.lang.NoClassDefFoundError: com/springsource/insight/InsightAgentPluginsHelper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running "gradle init" produces java.lang.NoClassDefFoundError

    GitHub | 3 years ago | dmurat
    java.lang.NoClassDefFoundError: com/springsource/loaded/ri/ReflectiveInterceptor
  6. 0

    Downloaded greenpages-1.0.1.RELEASE and unarchived. In solution dir, ran mvn package. Fails to compile giving error below: [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] greenpages.parent [INFO] greenpages.db [INFO] greenpages.app [INFO] greenpages.jpa [INFO] greenpages.web [INFO] greenpages.tests [INFO] GreenPages PAR [INFO] GreenPages App Build [INFO] ---------------------------------------------------------------------------- [INFO] Building greenpages.parent [INFO] task-segment: [package] [INFO] ---------------------------------------------------------------------------- [INFO] [site:attach-descriptor] [INFO] [com.springsource.bundlor.:transform {execution: bundlor}] [INFO] Ignored project with non-bundle packaging: [pom] [INFO] ---------------------------------------------------------------------------- [INFO] Building greenpages.db [INFO] task-segment: [package] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/adrian/s2/projects/dm-server/samples/greenpages/v1.0.1/greenpages-1.0.1.RELEASE/solution/greenpages.db/src/test/resources [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] [com.springsource.bundlor.:transform {execution: bundlor}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] com/springsource/util/common/PropertyPlaceholderResolver$PlaceholderValueTransformer [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoClassDefFoundError: com/springsource/util/common/PropertyPlaceholderResolver$PlaceholderValueTransformer at com.springsource.bundlor.support.StandardBundleTransformer.generateManifest(StandardBundleTransformer.java:217) at com.springsource.bundlor.maven.plugin.AbstractBundlorMojo.execute(AbstractBundlorMojo.java:207) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 seconds [INFO] Finished at: Mon Apr 20 12:29:40 BST 2009 [INFO] Final Memory: 15M/27M [INFO] ------------------------------------------------------------------------

    SpringSource Issue Tracker | 8 years ago | Adrian Colyer
    java.lang.NoClassDefFoundError: com/springsource/util/common/PropertyPlaceholderResolver$PlaceholderValueTransformer

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/springsource/sts/maven/MavenCorePlugin$PomResourceChangeListener$PomResourceVisitor

      at com.springsource.sts.maven.MavenCorePlugin$PomResourceChangeListener.getVisitor()
    2. com.springsource.sts
      MavenCorePlugin$PomResourceChangeListener.resourceChanged
      1. com.springsource.sts.maven.MavenCorePlugin$PomResourceChangeListener.getVisitor(MavenCorePlugin.java:203)
      2. com.springsource.sts.maven.MavenCorePlugin$PomResourceChangeListener.resourceChanged(MavenCorePlugin.java:174)
      2 frames
    3. Core Resource Management
      NotificationManager$1.run
      1. org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
      1 frame
    4. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    5. Core Resource Management
      AutoBuildJob.run
      1. org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
      2. org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
      3. org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
      4. org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530)
      5. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:156)
      6. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
      6 frames
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame