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:
Project->Properties->Project Facets->Convert to faceted form...
Select Dynamic Web Module
Click Further configuration available... which brings up the Web Module form
On the Web Module form, change the Content directory from WebContent to war
Uncheck Generate web.xml deployment descriptor, then OK
Back on the Project Facets form, select JavaServer Faces
Click on Further configuration required... and go through the process of downloading the JSF 2.0 (Mojarra 2.0.2-FCS) library
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'.
java.lang.NullPointerException
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.