I am getting this error while calling a java class in servlet.
Here is the error.
type Exception report
message Servlet execution threw an exception
de
You have missed the jar
file containing the class com.hp.hpl.jena.query.QueryFactory
in your classpath. Please add it in your package / classpath
Find the .jar for com/hp/hpl/jena/query/QueryFactory and put it in WEB-INF lib in your .war file.
Here's how to do it if you happened to be developing your servlets in the Eclipse IDE:
HTTP Status 500 - Servlet execution threw an exception
As I was getting the same servlet exception error.. While upgrading from tomcat 6 to 8 .
Issue has beem resolved after added odbc6.jar in tomcat home lib and web-inf lib.
Issue has beem resolved after added odbc6.jar in tomcat home lib and web-inf lib.