HTTP Status 500 - Servlet execution threw an exception

问题描述

HTTPStatus500-Servletexecutionthrewanexception--------------------------------------------------------------------------------typeExceptionreportmessageServletexecutionthrewanexceptiondescriptionTheserverencounteredaninternalerrorthatpreventeditfromfulfillingthisrequest.exceptionjavax.servlet.ServletException:Servletexecutionthrewanexceptionch2.util.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:77)rootcausejava.lang.NoClassDefFoundError:javax/mail/NoSuchProviderExceptionch2.service.UserService.addUser(UserService.java:40)ch2.servlet.Register.doGet(Register.java:69)ch2.servlet.Register.doPost(Register.java:81)javax.servlet.http.HttpServlet.service(HttpServlet.java:646)javax.servlet.http.HttpServlet.service(HttpServlet.java:727)ch2.util.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:77)rootcausejava.lang.ClassNotFoundException:javax.mail.NoSuchProviderExceptionorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)ch2.service.UserService.addUser(UserService.java:40)ch2.servlet.Register.doGet(Register.java:69)ch2.servlet.Register.doPost(Register.java:81)javax.servlet.http.HttpServlet.service(HttpServlet.java:646)javax.servlet.http.HttpServlet.service(HttpServlet.java:727)ch2.util.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:77)noteThefullstacktraceoftherootcauseisavailableintheApacheTomcat/7.0.56logs.--------------------------------------------------------------------------------ApacheTomcat/7.0.56

解决方案

解决方案二:
java.lang.ClassNotFoundException:javax.mail.NoSuchProviderException少jar包
解决方案三:
少什么JAVA包呢
解决方案四:
javamail相关的jar包
解决方案五:
能说的具体点吗?JAVAmail的包我已经有了,是不是放的位置不对,麻烦你能说的仔细点,谢谢。
解决方案六:
是否加了activation.jar,如果有,很可能是mail.jar冲突了,

时间: 2024-09-03 22:06:12

HTTP Status 500 - Servlet execution threw an exception的相关文章

servlet-Http Status 500-Servlet execution threw an exception

问题描述 Http Status 500-Servlet execution threw an exception 这个错是什么啊,看不懂,是包导入错误吗? 解决方案 HTTP Status 500 - Servlet.init() for servlet CXFServlet threw exceptionServlet execution threw an exceptionjava web开发详解 孙鑫 HTTP Status 500-Servlet.init() for servlet

servlet- Servlet execution threw an exception

问题描述 Servlet execution threw an exception 这个错究竟是不是就是DBVisit.conn里面的错误啊?可是我找不到里面有什么错 public class DBConn { private static Connection conn=null; private static ResultSet st=null; private static PreparedStatement rs=null; static String driverName=null;

servlet-HTTP Status 500 - Servlet.init()

问题描述 HTTP Status 500 - Servlet.init() HTTP Status 500 - Servlet.init() for servlet springmvc threw exception type Exception report message Servlet.init() for servlet springmvc threw exception description The server encountered an internal error that

web java-tomcat 启动报错 StandardWrapper. Servlet /Structs2 threw load() exception

问题描述 tomcat 启动报错 StandardWrapper. Servlet /Structs2 threw load() exception 严重: StandardWrapper.Throwable com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes. at com.sun.jersey.server

HTTP Status 500 -org.apache.jasper.JasperException: Exception in JSP

问题描述 加载的代码,500了....新手啊,真心不懂啊,求解~~HTTPStatus500---------------------------------------------------------------------------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptio

急急!求高手指点。当Tomcat6.0开始运行时出现下面的Servlet /Library threw load() exception详情请看内容。非常感谢

问题描述 求高手指点:开发平台:数据库MySQL+jdk1.5.0_12+MyEclipse6.0+JSP服务器(Tomcat6.0)操作时代码和数据库都没啥问题,当Tomcat6.0开始运行时出现下面的Servlet/Librarythrewload()exception问题.不知道是不是tomcat配置问题!求求指点!急急急急~~.~~~问题如下运行时提示:严重:Servlet/Librarythrewload()exceptionjava.lang.NoClassDefFoundError

严重: Servlet /strtustest threw load() exception

问题描述 严重:ErrorloadingWebappClassLoadercontext:/strtustestdelegate:falserepositories:/WEB-INF/classes/---------->ParentClassloader:org.apache.catalina.loader.StandardClassLoader@5e1077java.lang.ClassNotFoundException:atorg.apache.catalina.loader.Webapp

http-tomcat一直出这个问题HTTP Status 500

问题描述 tomcat一直出这个问题HTTP Status 500 HTTP Status 500 - java.lang.NullPointerException type Exception report message java.lang.NullPointerException description The server encountered an internal error that prevented it from fulfilling this request. excep

Tomcat报错:HTTP Status 500 (Wrapper cannot find servlet class)解决办法_java

Tomcat报错:HTTP Status 500 - Wrapper cannot find servlet class HTTP Status 500 - Wrapper cannot find servlet class com.servlet.servlet.RegServlet or a class it depends on type Exception report message Wrapper cannot find servlet class com.servlet.servl