user705414
user705414

Reputation: 21200

JSP throw NullPointException error in the line

Today I found JSP throw NullPointException error in the following line

_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory()

I found delete

jsp-api-2.1.jar

can fix the issue, but don't know why. Anyone knows the reason for this error.

I am using Tomcat 6.0.33

Upvotes: 0

Views: 107

Answers (1)

Dave Newton
Dave Newton

Reputation: 160170

Web apps must not provide their own Java EE libraries; they will conflict with the server's versions. It can create a variety of errors like this.

Upvotes: 1

Related Questions