Type Exception report
The message
Description The server encountered an internal error () that prevented it from fulfilling this request.
The exception
Java. Lang. RuntimeException: Java. Lang. Reflect the InvocationTargetException cn. Itcast. Servlet. BaseServlet. Service (BaseServlet. Java: 60) javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803) cn. Itcast. Filter. EncodingFilter. DoFilter (30) EncodingFilter. Java:
Root cause
Java. Lang. Reflect. InvocationTargetException sun. Reflect the NativeMethodAccessorImpl. Invoke0 (Native Method) sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 39) sun. Reflect. DelegatingMethodAccessorImpl. Invoke (DelegatingMethodAccessorImpl. Java: 25) Java. Lang. Reflect. Method. Invoke (597) Method. The Java:
Cn. Itcast. Servlet. BaseServlet. Service (BaseServlet. Java: 44) javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803) cn. Itcast. Filter. EncodingFilter. DoFilter (30) EncodingFilter. Java:
Root cause
Java. Lang. RuntimeException: javax.mail. Mail. AuthenticationFailedException: failed to connect
Cn. Itcast. Goods. User. Service. UserService. Regist (UserService. Java: 169)
Cn. Itcast. Goods. User. Web.. Servlet UserServlet. Regist (UserServlet. Java: 133)
Sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
Sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 39)
Sun. Reflect. DelegatingMethodAccessorImpl. Invoke (DelegatingMethodAccessorImpl. Java: 25)
Java. Lang. Reflect. Method. Invoke (597) Method. The Java:
Cn. Itcast. Servlet. BaseServlet. Service (BaseServlet. Java: 44)
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803)
Cn. Itcast. Filter. EncodingFilter. DoFilter (30) EncodingFilter. Java:
Root cause
javax.mail.AuthenticationFailedException: failed to connect javax.mail.Service.connect(Service.java:322) javax.mail.Service.connect(Service.java:172) javax.mail.Service.connect(Service.java:121) javax.mail.Transport.send0(Transport.java:190) javax.mail.Transport.send(Transport.java:120) cn.itcast.mail.MailUtils.send(MailUtils.java:91) cn.itcast.goods.user.service.UserService.regist(UserService.java:167) cn.itcast.goods.user.web.servlet.UserServlet.regist(UserServlet.java:133) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) cn.itcast.servlet.BaseServlet.service(BaseServlet.java:44) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) cn.itcast.filter.EncodingFilter.doFilter(EncodingFilter.java:30)
Note The full stack trace of The root cause is available in The Apache Tomcat/6.0.13 logs.