facebook

javax.servlet.ServletException

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #309085 Reply

    bafna_parag
    Member

    Hi all,

    I m developing web application (related to serial port)
    I am not able to resolve error…

    HTTP Status 500 –

    ——————————————————————————–

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    root cause

    java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
    org.apache.jsp.index_jsp._jspInit(index_jsp.java:23)
    org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
    org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.

    ——————————————————————————–
    anybody can tell me possible solutuion..

    thanks
    Parag

    #309086 Reply

    bafna_parag
    Member

    i am using MyEclipse 6.6

    #309322 Reply

    support-joy
    Member

    Parag,

    If you are getting error – HTTP status 500, it indicates internal server error. I would suggest you to run your app in debug mode, this will help you to pin-point to root cause. Next, look into the .log file located at [your workspace dir]/.metadata/.log and look for possible cause.

    #311141 Reply

    Balazs D. Toth
    Participant

    Hi,
    I have the same error when I start may app. from ME. I can’t debug it, since _jspInit is a generated function, which should run before any JPS command is executed.
    I have the latest version of ME4S 8.6. Not long ago I had to reinstal all my stuff after having update ME 8.5 to 8.6.
    My app. runs OK in production environment, but I wanted to debug my app.
    ME earlier was much more reliable. I think I’d better go back to Eclipse.
    ME is a waste of time and money.
    Balazs Toth

    #311549 Reply

    Balazs D. Toth
    Participant

    Hi,
    I don’t know if the problem was solved at some other topic, but now I found a solution.
    Choose!
    Window->Preferences
    MyEclipse->Servers->Integrated Sandbox->MyEclipse Tomcat
    Push!
    Restore MyEclipse Tomcat Server Installation
    I don’t what happened earlier and why this helped, but now I can use embedded Tomcat again.
    Balazs Toth
    Ps.: The Tomcat log was absuletely empty.

    #311903 Reply

    support-joy
    Member

    Balazs,

    Good to hear you are all set. Thank you for sharing your notes with us, this will help other forum users.

    Best.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: javax.servlet.ServletException

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in