gant.TargetExecutionException: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar

SpringSource Issue Tracker | Nieraj Singh | 6 years ago
  1. 0

    When uninstalling a plugin in Eclipse via the Grails command prompt, uninstall fails due to the error shown below. The folder links are removed, but when examining the plugin contents in the Project Explorer, it still shows the deleted plugin. Since the content of the "Plugins" logical folder is parsed directly from the .grails folder outside of the workspace and it relies on classpath entries to exist for source folders to be added into the logical folder, it may mean that the classpath entries for the removed plugin are still present. Base Directory: C:\workspaces\sts_runtime\AGrailsPluginProject3 Resolving dependencies... Dependencies resolved in 2733ms. Running script C:\springsource\grails-1.2.2\scripts\UninstallPlugin.groovy Environment set to development [delete] Deleting directory C:\workspaces\sts_runtime\AGrailsPluginProject3\web-app\WEB-INF\classes [delete] Deleting directory C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\resources Executing rest-0.3 plugin uninstall script ... [delete] Deleting directory C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3 Error executing script UninstallPlugin: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar gant.TargetExecutionException: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:344) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:334) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.processTargets(Gant.groovy:495) at gant.Gant.processTargets(Gant.groovy:480) Caused by: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:624) at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:683) at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:679) at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:543) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at _PluginDependencies_groovy$_run_closure28.doCall(_PluginDependencies_groovy:1036) at _PluginDependencies_groovy$_run_closure28.call(_PluginDependencies_groovy) at _GrailsPlugins_groovy$_run_closure4.doCall(_GrailsPlugins_groovy:118) at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324) ... 10 more Error executing script UninstallPlugin: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar

    SpringSource Issue Tracker | 6 years ago | Nieraj Singh
    gant.TargetExecutionException: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar
  2. 0

    When uninstalling a plugin in Eclipse via the Grails command prompt, uninstall fails due to the error shown below. The folder links are removed, but when examining the plugin contents in the Project Explorer, it still shows the deleted plugin. Since the content of the "Plugins" logical folder is parsed directly from the .grails folder outside of the workspace and it relies on classpath entries to exist for source folders to be added into the logical folder, it may mean that the classpath entries for the removed plugin are still present. Base Directory: C:\workspaces\sts_runtime\AGrailsPluginProject3 Resolving dependencies... Dependencies resolved in 2733ms. Running script C:\springsource\grails-1.2.2\scripts\UninstallPlugin.groovy Environment set to development [delete] Deleting directory C:\workspaces\sts_runtime\AGrailsPluginProject3\web-app\WEB-INF\classes [delete] Deleting directory C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\resources Executing rest-0.3 plugin uninstall script ... [delete] Deleting directory C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3 Error executing script UninstallPlugin: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar gant.TargetExecutionException: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:344) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:334) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.processTargets(Gant.groovy:495) at gant.Gant.processTargets(Gant.groovy:480) Caused by: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:624) at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:683) at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:679) at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:543) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at _PluginDependencies_groovy$_run_closure28.doCall(_PluginDependencies_groovy:1036) at _PluginDependencies_groovy$_run_closure28.call(_PluginDependencies_groovy) at _GrailsPlugins_groovy$_run_closure4.doCall(_GrailsPlugins_groovy:118) at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324) ... 10 more Error executing script UninstallPlugin: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar

    SpringSource Issue Tracker | 6 years ago | Nieraj Singh
    gant.TargetExecutionException: : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar
  3. 0

    Groovy: deploying a war file

    Stack Overflow | 7 years ago | Luixv
    gant.TargetExecutionException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    .zul is not displayed

    Google Groups | 7 years ago | Andrey
    gant.TargetExecutionException: : Replace: source file G:\My\develop \java\grails\bookstore\grails-app\composers\Index2Composer.groovy doesn't exist
  6. 0

    running grails application.

    Google Groups | 8 years ago | Hesham Alshaebi
    gant.TargetExecutionException: : Error starting Sun's native2ascii:

    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. gant.TargetExecutionException

      : Unable to delete file C:\Documents and Settings\nisingh\.grails\1.2.2\projects\AGrailsPluginProject3\plugins\rest-0.3\lib\commons-beanutils-1.7.0.jar

      at gant.Gant$_dispatch_closure4.doCall()
    2. gant
      Gant.processTargets
      1. gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
      2. gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
      3. gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
      4. gant.Gant.withBuildListeners(Gant.groovy:344)
      5. gant.Gant.this$2$withBuildListeners(Gant.groovy)
      6. gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
      7. gant.Gant.dispatch(Gant.groovy:334)
      8. gant.Gant.this$2$dispatch(Gant.groovy)
      9. gant.Gant.invokeMethod(Gant.groovy)
      10. gant.Gant.processTargets(Gant.groovy:495)
      11. gant.Gant.processTargets(Gant.groovy:480)
      11 frames