This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Hello World Web Application Servlet Exception using NetBeans 7.1 and Tomcat 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Hello World Web Application Servlet Exception using NetBeans 7.1 and Tomcat 7" Watch "Hello World Web Application Servlet Exception using NetBeans 7.1 and Tomcat 7" New topic
Author

Hello World Web Application Servlet Exception using NetBeans 7.1 and Tomcat 7

Jaime Vazquez
Greenhorn

Joined: Apr 20, 2012
Posts: 1
I'm getting this error log trying to acces the default "Hello World" web application.
I'm using NetBeans 7.1 and Tomcat 7.

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Jaime Vazquez wrote:

That's all the information needed. It includes two vital pieces of information:
1) you're getting an AbstractMethodError. This means that some piece of code is trying to call an abstract method that is not implemented. One cause could be an interface method that was added in a later version but not implemented yet.

2) javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext indicates the method that is called. The class is javax.servlet.jsp.JspFactory, the method is public JspApplicationContext getJspApplicationContext(ServletContext).

I've checked the Javadocs on that method (just click on the JspFactory link), and it shows that this method has been available since "2.1". This means the JSP 2.1 specification. That surprises me a bit, because Tomcat 7 implements the JSP 2.2 specification (see http://tomcat.apache.org/tomcat-7.0-doc/). Do you perhaps have an older jsp-api.jar file on your class path?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: Hello World Web Application Servlet Exception using NetBeans 7.1 and Tomcat 7
 
Similar Threads
Problem with Tomcat 6.0
Database connection problem
When Running dynamic WebApplication This Exception Showing
org.apache.jasper.JasperException: org.apache.jasper.JasperException: java.lang.NullPointerException
Problem with Tomcat