Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error while saving file(A dialog showed on the save action)
icon8.gif  Error while saving file [message #913270] Sat, 15 September 2012 01:56 Go to next message
Aravindhan Ayyanathan is currently offline Aravindhan Ayyanathan
Messages: 2
Registered: September 2012
Junior Member
I am using eclipse JUNO
When i save any file in eclipse i got a dialog box.

the dialog contains following details:
'Building workspace' has encountered a problem
Error occured during the build


details:

Errors occurred during the build.
Errors running builder 'Faceted Project Validation Builder' on project 'project'.("project " is my project name)
Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
Errors running builder 'Validation' on project 'project'.
org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants

the error log as follows:

!ENTRY org.eclipse.core.resources 4 75 2012-09-15 11:06:03.950
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.eclipse.wst.common.project.facet.core 4 75 2012-09-15 11:06:03.950
!MESSAGE Errors running builder 'Faceted Project Validation Builder' on project 'project'.
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
at org.eclipse.jst.j2ee.project.facet.EarFacetValidator.validate(EarFacetValidator.java:53)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectValidationBuilder.build(FacetedProjectValidationBuilder.java:132)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 org.eclipse.wst.validation 4 75 2012-09-15 11:06:03.950
!MESSAGE Errors running builder 'Validation' on project 'project'.
!STACK 0

[Updated on: Mon, 17 September 2012 02:56]

Report message to a moderator

Re: Error while saving file [message #916676 is a reply to message #913270] Wed, 19 September 2012 05:54 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 15.09.2012 07:57, Aravindhan Ayynathan wrote:
> I am using eclipse JUNO
>
> the dialog contains following details:
> 'Building workspace' has encountered a problem
> Error occured during the build
>
>
> details:
>
> Errors occurred during the build.
> Errors running builder 'Faceted Project Validation Builder' on project
> 'project'.
> Could not initialize class
> org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
> Errors running builder 'Validation' on project 'project'.
> org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
Please report this via bugzilla.

Dani
Previous Topic:Problem with marker for printStackTrace
Next Topic:Icon glossary?
Goto Forum:
  


Current Time: Wed Apr 16 03:28:48 EDT 2014

Powered by FUDForum. Page generated in 0.05283 seconds