Current File : //usr/local/tomcat8/logs/catalina.2022-01-19.log
19-Jan-2022 10:12:54.272 SEVERE [http-nio-8080-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [An exception occurred processing JSP page /testpopdf21.jsp at line 525

522: 	}
523: 	else{
524: 		div=number/10;
525: 	soFar=soFar +" "+ tens[div]+" "+ ones[number%10];
526: 	}
527: 	
528: }


Stacktrace:] with root cause
 java.lang.ArrayIndexOutOfBoundsException: 10
	at org.apache.jsp.testpopdf21_jsp._jspService(testpopdf21_jsp.java:799)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 10:13:07.834 SEVERE [http-nio-8080-exec-9] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [An exception occurred processing JSP page /testpopdf21.jsp at line 525

522: 	}
523: 	else{
524: 		div=number/10;
525: 	soFar=soFar +" "+ tens[div]+" "+ ones[number%10];
526: 	}
527: 	
528: }


Stacktrace:] with root cause
 java.lang.ArrayIndexOutOfBoundsException: 10
	at org.apache.jsp.testpopdf21_jsp._jspService(testpopdf21_jsp.java:799)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 13:35:10.933 INFO [http-nio-8080-exec-8] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
	at org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine(AbstractNioInputBuffer.java:233)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1017)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:17:03.345 SEVERE [http-nio-8080-exec-10] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:] with root cause
 org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:23:51.692 SEVERE [http-nio-8080-exec-10] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:] with root cause
 org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:24:02.163 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:] with root cause
 org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:25:09.878 SEVERE [http-nio-8080-exec-9] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:] with root cause
 org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:27:23.587 SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:] with root cause
 org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:32:08.958 SEVERE [http-nio-8080-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:] with root cause
 org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:35:10.603 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.modified One or more JARs have been added to the web application []
19-Jan-2022 16:35:10.603 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] has started
19-Jan-2022 16:35:10.658 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
19-Jan-2022 16:35:10.659 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
 com.mysql.jdbc.NonRegisteringDriver$1.run(NonRegisteringDriver.java:93)
19-Jan-2022 16:35:10.982 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] is completed
19-Jan-2022 16:35:30.877 SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:] with root cause
 org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
Session cannot be resolved
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 61 in the jsp file: /mailmessage.jsp
javax.mail.Authenticator cannot be resolved to a type
58: 
59:     // Authorized the Session object.
60: 
61:     Session mailSession = Session.getInstance(props, new javax.mail.Authenticator() {
62: 
63:         @Override
64: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 79 in the jsp file: /mailmessage.jsp
MimeMessage cannot be resolved to a type
76: 
77:         // Create a default MimeMessage object.
78: 
79:         MimeMessage message = new MimeMessage(mailSession);
80: 
81:         // Set From: header field of the header.
82: 


An error occurred at line: 83 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
80: 
81:         // Set From: header field of the header.
82: 
83:         message.setFrom(new InternetAddress(from));
84: 
85:         // Set To: header field of the header.
86: 


An error occurred at line: 87 in the jsp file: /mailmessage.jsp
Message.RecipientType.TO cannot be resolved to a type
84: 
85:         // Set To: header field of the header.
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 


An error occurred at line: 89 in the jsp file: /mailmessage.jsp
InternetAddress cannot be resolved to a type
86: 
87:         message.addRecipient(Message.RecipientType.TO,
88: 
89:                 new InternetAddress(to));
90: 
91:         // Set Subject: header field
92: 


An error occurred at line: 101 in the jsp file: /mailmessage.jsp
Transport cannot be resolved
98: 
99:         // Send message
100: 
101:         Transport.send(message);
102: 
103:         result = "Your mail sent successfully....";
104: 


An error occurred at line: 105 in the jsp file: /mailmessage.jsp
MessagingException cannot be resolved to a type
102: 
103:         result = "Your mail sent successfully....";
104: 
105:     } catch (MessagingException mex) {
106: 
107:         mex.printStackTrace();
108: 


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

19-Jan-2022 16:35:32.369 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.modified One or more JARs have been added to the web application []
19-Jan-2022 16:35:32.369 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] has started
19-Jan-2022 16:35:32.383 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
 com.mysql.jdbc.NonRegisteringDriver$1.run(NonRegisteringDriver.java:93)
19-Jan-2022 16:35:32.626 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] is completed