|
|
Some error is happening here:org.apache.jasper.JasperException: Unable to compile class for JSP:
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 65 in the jsp file: /incl/user_lost_pass.jsp
javax.mail.Session cannot be resolved to a type
62: // Setup mail server
63: props.put("mail.smtp.host", "212.72.211.193");
64: // Get session
65: javax.mail.Session ses = Session.getDefaultInstance(props, null);
66: // Define message
67: MimeMessage message = new MimeMessage(ses);
68: // Set the from address
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 65 in the jsp file: /incl/user_lost_pass.jsp
Session cannot be resolved
62: // Setup mail server
63: props.put("mail.smtp.host", "212.72.211.193");
64: // Get session
65: javax.mail.Session ses = Session.getDefaultInstance(props, null);
66: // Define message
67: MimeMessage message = new MimeMessage(ses);
68: // Set the from address
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 67 in the jsp file: /incl/user_lost_pass.jsp
MimeMessage cannot be resolved to a type
64: // Get session
65: javax.mail.Session ses = Session.getDefaultInstance(props, null);
66: // Define message
67: MimeMessage message = new MimeMessage(ses);
68: // Set the from address
69: message.setFrom(new InternetAddress("admin@bulgariaholiday.bg"));
70: // Set the to address
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 67 in the jsp file: /incl/user_lost_pass.jsp
MimeMessage cannot be resolved to a type
64: // Get session
65: javax.mail.Session ses = Session.getDefaultInstance(props, null);
66: // Define message
67: MimeMessage message = new MimeMessage(ses);
68: // Set the from address
69: message.setFrom(new InternetAddress("admin@bulgariaholiday.bg"));
70: // Set the to address
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 69 in the jsp file: /incl/user_lost_pass.jsp
InternetAddress cannot be resolved to a type
66: // Define message
67: MimeMessage message = new MimeMessage(ses);
68: // Set the from address
69: message.setFrom(new InternetAddress("admin@bulgariaholiday.bg"));
70: // Set the to address
71: message.addRecipient(Message.RecipientType.TO,new InternetAddress(email));
72: // Set the subject
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 71 in the jsp file: /incl/user_lost_pass.jsp
Message.RecipientType.TO cannot be resolved to a type
68: // Set the from address
69: message.setFrom(new InternetAddress("admin@bulgariaholiday.bg"));
70: // Set the to address
71: message.addRecipient(Message.RecipientType.TO,new InternetAddress(email));
72: // Set the subject
73: message.setSubject("BulgariaHoliday.bg: Forgotten Pass");
74: // Set the content
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 71 in the jsp file: /incl/user_lost_pass.jsp
InternetAddress cannot be resolved to a type
68: // Set the from address
69: message.setFrom(new InternetAddress("admin@bulgariaholiday.bg"));
70: // Set the to address
71: message.addRecipient(Message.RecipientType.TO,new InternetAddress(email));
72: // Set the subject
73: message.setSubject("BulgariaHoliday.bg: Forgotten Pass");
74: // Set the content
JSP FileName:/incl/user_lost_pass.jsp
Java FileName:/usr/local/tomcat5.5/work/Catalina/bulgariaholiday.com/_//org/apache/jsp/incl/user_005flost_005fpass_jsp.java
An error occurred at line: 77 in the jsp file: /incl/user_lost_pass.jsp
Transport cannot be resolved
74: // Set the content
75: message.setText(text);
76: // Send message
77: Transport.send(message);
78: out.print("Send complete!");
79:
80: }
Stacktrace:
| |