• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Trouble converting mango eclipse project to a faceted Dynamic Web Module

    User help
    1
    2
    3.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SteveE
      last edited by

      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'.
        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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post