org.eclipse.core.runtime.CoreException: Unable to create war file

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
    org.eclipse.core.runtime.CoreException: Unable to create war file
  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
    org.eclipse.core.runtime.CoreException: Unable to create war file
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    null pointer exception

    Eclipse Bugzilla | 9 years ago | stuffit
    org.eclipse.core.runtime.CoreException: Unable to create file "/home/dagon/eclipse/features/org.eclipse.birt.crosstab.source_2.2.1.v20070709-3310j775Nr733G3J77/eclipse_update_120.jpg". [/home/dagon/eclipse/features/org.eclipse.birt.crosstab.source_2.2.1.v20070709-3310j775Nr733G3J77/eclipse_update_120.jpg (Too many open files)]

    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. org.eclipse.core.runtime.CoreException

      Unable to create war file

      at com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun()
    2. com.cloudfoundry.sts
      CloudFoundryEditorAction$1.run
      1. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:427)
      2. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$17.doRun(CloudFoundryServerBehaviour.java:1)
      3. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour$Request.run(CloudFoundryServerBehaviour.java:1108)
      4. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.deployOrStartModule(CloudFoundryServerBehaviour.java:481)
      5. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.startModule(CloudFoundryServerBehaviour.java:505)
      6. com.cloudfoundry.sts.internal.server.core.CloudFoundryServerBehaviour.updateRestartModule(CloudFoundryServerBehaviour.java:601)
      7. com.cloudfoundry.sts.internal.server.ui.actions.StartStopApplicationAction.performAction(StartStopApplicationAction.java:77)
      8. com.cloudfoundry.sts.internal.server.ui.actions.CloudFoundryEditorAction$1.run(CloudFoundryEditorAction.java:84)
      8 frames
    3. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame