• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm getting this error log trying to acces the default "Hello World" web application.
I'm using NetBeans 7.1 and Tomcat 7.

 
Sheriff
Posts: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic