• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Jay

    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
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Jay

    @Jay

    0
    Reputation
    267
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Jay Unfollow Follow

    Latest posts made by Jay

    • RE: Building Mango in Eclipse

      Hi all,

      I'm having a problem running/compiling mango using eclipse, and was wondering if someone here might know what I did wrong...

      I've followed all the steps described by Andras to build the project in Eclipse, including "add external jar" to add the following jars from ${tomcat.home}/lib

      servlet-api
      jsp-api

      When I try to build, I get several compile errors starting with

      [javac] C:\Dev\testing\workspace\Mango\src\com\serotonin\mango\vo\User.java:26: package javax.servlet.http does not exist
      [javac] import javax.servlet.http.HttpSessionBindingEvent;
      

      Finally, I copied the files

      servlet-api.jar and
      jsp-api.jar

      into ...war\WEB-INF\lib.

      Then the build process successfully compiles and copies files to Tomcat's webapps folder. In fact, it does this even if I remove the "external jars" servlet-api and jsp-api from classpath (using eclipse)!

      However, when I try to run the application, it returns a HTTP Status 500 page with a null pointer exception in javax.servlet.http.HttpServlet.service

      org.apache.jasper.JasperException: java.lang.NullPointerException
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:536)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:368)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      I suspect this is related to the servlet-api jar.

      Anyone have any suggestions...?

      Jay

      posted in Development general discussion
      J
      Jay