I am working on PhoneGap BlackberryWebWorks i have install BlackBerry WebWorks plug-in:2.5.1 and Blackberry WebWorks SDK:2.0.0. and PhoneGap 0.9.4.but while building the project in eclipse i am getting the following error
Errors occurred during the build.
Errors running builder 'Faceted Project Validation Builder' on project 'PhoneGapSample'.
Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
I am not getting any idea how to proceed ahead to remove this error.If any one have any idea about this. it will help me to overcome from this error. Thanks, Sagar.
Right click on your project >>> Properties >>> Project Facets >>> uncheck Static web Module
Hope to help.
Regards,
In eclipse juno there is some cases the project facets doesn't display any contents...it will give a error named "invalid values for project facets"...So there is a need to do the following
and uncheck the faceted project validation builder....
In my case I was using
Thymeleaf Eclipse plugin
for thymeleaf content assist in my project and got these message in Eclipse Juno,Solution:
Thymeleaf Validation Builder
Uncheck the builder corresponding to your error message and hopefully your problem gets resolved.
Per neo's comment, install Eclipse Java EE Developer Tools using the Eclipse -> Help -> Install new software -> Work with -> (your Eclipse version's download repository. e.g.:) Indigo.
In the filter field type, then checkbox, Eclipse Java EE Developer Tools.
Download, install, boom: no more errors. Well, not that error, anyway, YMMV.
Edit: Mayoayres added a comment below that may apply if you still get this error despite following these instructions. If you find it helpful, upvote his comment!
As a more generic answer, this is because you either imported a project which is dependent on uninstalled Eclipse plugins. I had this issue when migrating to Eclipse Juno. The easiest solution, just edit your .project file in a text editor and remove the conflicting elements. Usually, this is in the buildspec or nature section.
Keep a backup of your project file if you're not sure. You may always delete and recreate your project later on. It's easier to remove those references than to find and install the exact missing plugin versions.
The accepted answer didn't work for me, but I found a solution: you need to install into the Eclipse
plugins/
directory the.jar
fororg.eclipse.jst.j2ee.ejb
, because it seems like you need it, but Eclipse WST doesn't properly depend on it, so it is not always installed when it should be.The issue is completely unrelated to PhoneGap or Blackberry development, by the way.