java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z

SpringSource Issue Tracker | Lukas Rossa | 4 years ago
  1. 0

    I have an application deployed to CF. Yesterday I upgraded my STS install (from update site) and now I cannot Update and Restart my application from the CF plugin. Before: SpringSource Tool Suite 2.9.0.201203011000-RELEASE SpringSource Tool Suite Grails Support 2.9.0.201203011000-RELEASE Grails (production release) 2.0.1 Now: SpringSource Tool Suite 2.9.2.201205071000-RELEASE SpringSource Tool Suite Grails Support 2.9.2.201205071000-RELEASE Grails (production release) 2.0.3 The following error is reported in the log: !ENTRY com.springsource.sts.grails.core 4 0 2012-06-12 23:04:36.636 !MESSAGE A problem occurred building the war file for P/PtrackerApp !STACK 0 java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z at com.springsource.sts.grails.runonserver.RunOnServerPlugin.getStagingArea(RunOnServerPlugin.java:92) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.getStagingArea(GrailsAppModuleDelegate.java:541) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.getWarFile(GrailsAppModuleDelegate.java:526) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.cacheWarFile(GrailsAppModuleDelegate.java:459) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.cacheMembers(GrailsAppModuleDelegate.java:255) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.members(GrailsAppModuleDelegate.java:120) at org.eclipse.wst.server.core.internal.ModulePublishInfo.getModuleResources(ModulePublishInfo.java:321) at org.eclipse.wst.server.core.internal.ServerPublishInfo.getResources(ServerPublishInfo.java:361) at org.eclipse.wst.server.core.internal.Server.getResources(Server.java:1432) at com.cloudfoundry.sts.internal.server.core.CloudUtil.createWarFile(CloudUtil.java:63) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:425) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:1) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$Request.run(CloudFoundryServerBehaviour.java:1108) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.deployOrStartModule(CloudFoundryServerBehaviour.java:481) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.startModule(CloudFoundryServerBehaviour.java:505) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.updateRestartModule(CloudFoundryServerBehaviour.java:601) at com.cloudfoundry.sts.internal.server.ui.actions.StartStopApplicationAction.performAction(StartStopApplicationAction.java:77) at com.cloudfoundry.sts.internal.server.ui.actions.CloudFoundryEditorAction$1.run(CloudFoundryEditorAction.java:84) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.cloudfoundry.sts.server.ui 4 0 2012-06-12 23:04:36.640 !MESSAGE Failed to perform server editor action !STACK 1 org.eclipse.core.runtime.CoreException: Unable to create war file at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:427) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:1) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$Request.run(CloudFoundryServerBehaviour.java:1108) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.deployOrStartModule(CloudFoundryServerBehaviour.java:481) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.startModule(CloudFoundryServerBehaviour.java:505) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.updateRestartModule(CloudFoundryServerBehaviour.java:601) at com.cloudfoundry.sts.internal.server.ui.actions.StartStopApplicationAction.performAction(StartStopApplicationAction.java:77) at com.cloudfoundry.sts.internal.server.ui.actions.CloudFoundryEditorAction$1.run(CloudFoundryEditorAction.java:84) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.cloudfoundry.sts.server.core 4 0 2012-06-12 23:04:36.641 !MESSAGE Unable to create war file

    SpringSource Issue Tracker | 4 years ago | Lukas Rossa
    java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
  2. 0

    I have an application deployed to CF. Yesterday I upgraded my STS install (from update site) and now I cannot Update and Restart my application from the CF plugin. Before: SpringSource Tool Suite 2.9.0.201203011000-RELEASE SpringSource Tool Suite Grails Support 2.9.0.201203011000-RELEASE Grails (production release) 2.0.1 Now: SpringSource Tool Suite 2.9.2.201205071000-RELEASE SpringSource Tool Suite Grails Support 2.9.2.201205071000-RELEASE Grails (production release) 2.0.3 The following error is reported in the log: !ENTRY com.springsource.sts.grails.core 4 0 2012-06-12 23:04:36.636 !MESSAGE A problem occurred building the war file for P/PtrackerApp !STACK 0 java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z at com.springsource.sts.grails.runonserver.RunOnServerPlugin.getStagingArea(RunOnServerPlugin.java:92) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.getStagingArea(GrailsAppModuleDelegate.java:541) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.getWarFile(GrailsAppModuleDelegate.java:526) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.cacheWarFile(GrailsAppModuleDelegate.java:459) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.cacheMembers(GrailsAppModuleDelegate.java:255) at com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.members(GrailsAppModuleDelegate.java:120) at org.eclipse.wst.server.core.internal.ModulePublishInfo.getModuleResources(ModulePublishInfo.java:321) at org.eclipse.wst.server.core.internal.ServerPublishInfo.getResources(ServerPublishInfo.java:361) at org.eclipse.wst.server.core.internal.Server.getResources(Server.java:1432) at com.cloudfoundry.sts.internal.server.core.CloudUtil.createWarFile(CloudUtil.java:63) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:425) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:1) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$Request.run(CloudFoundryServerBehaviour.java:1108) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.deployOrStartModule(CloudFoundryServerBehaviour.java:481) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.startModule(CloudFoundryServerBehaviour.java:505) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.updateRestartModule(CloudFoundryServerBehaviour.java:601) at com.cloudfoundry.sts.internal.server.ui.actions.StartStopApplicationAction.performAction(StartStopApplicationAction.java:77) at com.cloudfoundry.sts.internal.server.ui.actions.CloudFoundryEditorAction$1.run(CloudFoundryEditorAction.java:84) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.cloudfoundry.sts.server.ui 4 0 2012-06-12 23:04:36.640 !MESSAGE Failed to perform server editor action !STACK 1 org.eclipse.core.runtime.CoreException: Unable to create war file at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:427) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:1) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$Request.run(CloudFoundryServerBehaviour.java:1108) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.deployOrStartModule(CloudFoundryServerBehaviour.java:481) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.startModule(CloudFoundryServerBehaviour.java:505) at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.updateRestartModule(CloudFoundryServerBehaviour.java:601) at com.cloudfoundry.sts.internal.server.ui.actions.StartStopApplicationAction.performAction(StartStopApplicationAction.java:77) at com.cloudfoundry.sts.internal.server.ui.actions.CloudFoundryEditorAction$1.run(CloudFoundryEditorAction.java:84) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.cloudfoundry.sts.server.core 4 0 2012-06-12 23:04:36.641 !MESSAGE Unable to create war file

    SpringSource Issue Tracker | 4 years ago | Lukas Rossa
    java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
  3. 0

    GitHub comment 43#10974542

    GitHub | 4 years ago | kingsleyh
    java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java-sonar-general - Re: Re: Problems with setup upgrade step and SQL Server - msg#00295 - Recent Discussion OSDir.com

    osdir.com | 11 months ago
    org.apache.catalina.LifecycleException: org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.server.mavendeployer.MavenRepository.start()', instance 'org.sonar.server.mavendeployer.MavenRepository@626d26e, java.lang.RuntimeException: wrapper
  6. 0

    NoSuchMethodError exception when run Mule Application from Ecplise

    Stack Overflow | 12 months ago | May12
    java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z

    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.NoSuchMethodError

      org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z

      at com.springsource.sts.grails.runonserver.RunOnServerPlugin.getStagingArea()
    2. com.springsource.sts
      GrailsAppModuleDelegate.members
      1. com.springsource.sts.grails.runonserver.RunOnServerPlugin.getStagingArea(RunOnServerPlugin.java:92)
      2. com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.getStagingArea(GrailsAppModuleDelegate.java:541)
      3. com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.getWarFile(GrailsAppModuleDelegate.java:526)
      4. com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.cacheWarFile(GrailsAppModuleDelegate.java:459)
      5. com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.cacheMembers(GrailsAppModuleDelegate.java:255)
      6. com.springsource.sts.grails.runonserver.GrailsAppModuleDelegate.members(GrailsAppModuleDelegate.java:120)
      6 frames
    3. Server Core
      Server.getResources
      1. org.eclipse.wst.server.core.internal.ModulePublishInfo.getModuleResources(ModulePublishInfo.java:321)
      2. org.eclipse.wst.server.core.internal.ServerPublishInfo.getResources(ServerPublishInfo.java:361)
      3. org.eclipse.wst.server.core.internal.Server.getResources(Server.java:1432)
      3 frames
    4. com.cloudfoundry.sts
      CloudFoundryEditorAction$1.run
      1. com.cloudfoundry.sts.internal.server.core.CloudUtil.createWarFile(CloudUtil.java:63)
      2. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:425)
      3. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:1)
      4. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$Request.run(CloudFoundryServerBehaviour.java:1108)
      5. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.deployOrStartModule(CloudFoundryServerBehaviour.java:481)
      6. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.startModule(CloudFoundryServerBehaviour.java:505)
      7. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.updateRestartModule(CloudFoundryServerBehaviour.java:601)
      8. com.cloudfoundry.sts.internal.server.ui.actions.StartStopApplicationAction.performAction(StartStopApplicationAction.java:77)
      9. com.cloudfoundry.sts.internal.server.ui.actions.CloudFoundryEditorAction$1.run(CloudFoundryEditorAction.java:84)
      9 frames
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame