HTTP Status 500 - Servlet execution threw an exception

前端 未结 4 2015
粉色の甜心
粉色の甜心 2021-01-21 07:15

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         


        
相关标签:
4条回答
  • 2021-01-21 07:28

    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

    0 讨论(0)
  • 2021-01-21 07:44

    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:

    • Adding 3rd party jars to WEB-INF/lib automatically using Eclipse/Tomcat
    0 讨论(0)
  • 2021-01-21 07:44

    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.

    0 讨论(0)
  • 2021-01-21 07:45

    Issue has beem resolved after added odbc6.jar in tomcat home lib and web-inf lib.

    0 讨论(0)
提交回复
热议问题