Getting an error message while building PhoneGapSample in blackberry Webworks

Sagar picture Sagar · Aug 4, 2011 · Viewed 41.4k times · Source

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.

Answer

user288926 picture user288926 · Jun 16, 2012

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!