I'm able to import mango into eclipse and resolve the build path issues by adding external jar j2ee.jar and adding all jars in war/WEB-INF/lib).

My trouble starts when I attempt to convert the project to a faceted dynamic web project:

  1. Project-&gtProperties-&gtProject Facets-&gtConvert to faceted form...

  2. Select Dynamic Web Module

  3. Click Further configuration available... which brings up the Web Module form

  4. On the Web Module form, change the Content directory from WebContent to war

  5. Uncheck Generate web.xml deployment descriptor, then OK

  6. Back on the Project Facets form, select JavaServer Faces

  7. Click on Further configuration required... and go through the process of downloading the JSF 2.0 (Mojarra 2.0.2-FCS) library

  8. When I finally click OK on the Properties form and eclipse rebuilds the workspace, I get the following error:

    Errors occurred during the build.
    Errors running builder 'JavaScript Validator' on project 'Mango'.

Additionally, a bunch of html and javaScript files now show errors. (Note that eclipse automatically added the JavaScript facet when adding the Dynamic Web Module facet.) Performing a clean build results in the same JavaScript Validator error.

So, how do I (a) fix the JavaScript validator and (b) resolve the JavaScript and html syntax problems? Any help will be greatly appreciated; I've been working on this for several days.