Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I get the exception java.lang.AbstractMethodError: org/apache/jserv/JServContext.getContext. Whats wrong?

0
Posted

I get the exception java.lang.AbstractMethodError: org/apache/jserv/JServContext.getContext. Whats wrong?

0

You are probably using JServ with the wrong version of the Servlet Library. JServ supports Servlet API 2.0 and is not forward compatible with the newer version shipped with Cocoon. Cocoon is Servlet API 2.2 compatible and requires the servlet_2.2.jar package to compile correctly, but works is back compatible with old servlet engines. To fix the problem you must set the Servlet API 2.0 version in your classpath instead of the one shipped with Cocoon. Read the JServ installation instructions for more info on this.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123