Topic
2 replies Latest Post - ‏2008-05-16T15:59:48Z by SystemAdmin
SystemAdmin
SystemAdmin
11979 Posts
ACCEPTED ANSWER

Pinned topic Problems encountered while deleting resources in WSAD 5.1.2

‏2007-07-23T22:26:39Z |
I am getting the following error message when rebuilding any project in WSAD 5.1.2. The problem goes away if I refresh the project and rebuild it again. However, I was wondering if there is any solution to fix the problem without refreshing the project.

The project was not built due to "Problems encountered while deleting resources.". Fix the problem, then try refreshing this project and rebuilding it since it may be inconsistent.

org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at org.eclipse.core.runtime.CoreException.<init>(CoreException.java:35)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:39)
at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:169)
at org.eclipse.core.internal.resources.ResourceTree.standardDeleteFolder(ResourceTree.java:552)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:633)
at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:121)
at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:37)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:194)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:117)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java)
at org.eclipse.core.runtime.Platform.run(Platform.java)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:125)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:181)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:151)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java)
at org.eclipse.core.runtime.Platform.run(Platform.java)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:265)
at org.eclipse.core.internal.resources.Project.build(Project.java:85)
at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:156)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:122)
at org.eclipse.ui.actions.WorkspaceAction$1.execute(WorkspaceAction.java:279)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Updated on 2008-05-16T15:59:48Z at 2008-05-16T15:59:48Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    11979 Posts
    ACCEPTED ANSWER

    Re: Problems encountered while deleting resources in WSAD 5.1.2

    ‏2008-01-25T15:25:37Z  in response to SystemAdmin
    I am encoutering the same issue. I tried unloading the workspace and it seems to work
    • SystemAdmin
      SystemAdmin
      11979 Posts
      ACCEPTED ANSWER

      Re: Problems encountered while deleting resources in WSAD 5.1.2

      ‏2008-05-16T15:59:48Z  in response to SystemAdmin
      This is a problem caused by some security tools that might have been installed on your computer.For example WebSense which might restrict WSAD/RAD to delete the .class files and rebuild from scratch.Stop such services or uninstall and try rebuilding/clean again.

      This is required on top of you having administrative privilges. Hope this helps.