Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 3rd, 2013  |  syntax: None  |  size: 3.78 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Email email = new SimpleEmail();
  2. email.setHostName("smtp.googlemail.com");
  3. email.setSmtpPort(465);
  4. email.setAuthenticator(new DefaultAuthenticator("*****@gmail.com", "12345"));
  5. email.setTLS(true);// i also tried setSSL()
  6. email.setFrom("*****a@gmail.com");
  7. email.setSubject("TestMail");
  8. email.setMsg("This is a test mail ... :-)");
  9. email.addTo("*****@yahoo.com");
  10. email.send();
  11.        
  12. SEVERE: java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: (<any>)void
  13. javax.faces.event.AbortProcessingException: java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: (<any>)void
  14.     at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:182)
  15.     at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
  16.     at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:772)
  17.     at javax.faces.component.UICommand.broadcast(UICommand.java:300)
  18.     at javax.faces.component.UIData.broadcast(UIData.java:912)
  19.     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:775)
  20.     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1267)
  21.     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
  22.     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  23.     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
  24.     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
  25.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
  26.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  27.     at com.fidela.util.PageFilter.doFilter(PageFilter.java:39)
  28.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  29.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  30.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
  31.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
  32.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  33.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
  34.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
  35.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
  36.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  37.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
  38.     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269)
  39.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
  40.     at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773)
  41.     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
  42.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  43.     at java.lang.Thread.run(Thread.java:619)
  44. Caused by: java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: (<any>)void
  45.     at com.fidela.beans.UserBean.forgotPassword(UserBean.java:267)
  46.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  47.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  48.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  49.     at java.lang.reflect.Method.invoke(Method.java:597)
  50.     at org.apache.el.parser.AstValue.invoke(AstValue.java:262)
  51.     at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
  52.     at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:153)
  53.     ... 29 more
clone this paste RAW Paste Data