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

SpringSource Issue Tracker | Lukas Rossa | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 5 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 | 5 years ago | Lukas Rossa
    java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
  3. 0

    Eclipse Community Forums: Java Development Tools (JDT) » Error while Starting Tomcat 6.0

    eclipse.org | 8 months ago
    java.lang.NoSuchMethodError: org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTempDirectory(Z)Lorg/eclipse/core/runtime/IPath; at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTempDirectory(TomcatServerBehaviour.java:619) at org.eclipse.jst.server.tomcat.core.internal.TomcatVersionHel per.getStandardBaseDirectory(TomcatVersionHelper.java:154) at org.eclipse.jst.server.tomcat.core.internal.Tomcat60Handler. getRuntimeBaseDirectory(Tomcat60Handler.java:112) at org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get RuntimeBaseDirectory(TomcatServer.java:271) at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getRuntimeBaseDirectory(TomcatServerBehaviour.java:103 ) at org.eclipse.jst.server.tomcat.core.internal.PublishOperation 2. <init>(PublishOperation2.java:50) at org.eclipse.jst.server.tomcat.core.internal.PublishTask.getT asks(PublishTask.java:34) at org.eclipse.wst.server.core.internal.PublishTask.getTasks(Pu blishTask.java:89) at org.eclipse.wst.server.core.internal.Server.getTasks(Server. java:1186) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTasks(ServerBehaviourDelegate.java:1055) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:834) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:708) at org.eclipse.wst.server.core.internal.Server.publishImpl(Serv er.java:2731) at org.eclipse.wst.server.core.internal.Server$PublishJob.run(S erver.java:278)
  4. Speed up your debug routine!

    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