Project

General

Profile

Bug #1480

Updated by Miguel Ruiz Velasco 10 days ago

 
 <pre> 
 Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.mail.javamail.JavaMailSender mx.go 
 b.conocer.sii.service.commons.email.impl.EmailSender.mailSender; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating 
  bean with name 'mailSender' defined in class path resource [config/context-service-commons.xml]: Initialization of bean failed; nested exception is org.spr 
 ingframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'javax.mail.Session' to required type 'javax.mail.Session' for  
 property 'session'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [javax.mail.Session] to required type [javax.mail.Sess 
 ion] for property 'session': no matching editors or conversion strategy found 

        java.net.SocketTimeoutException: Read timed out 
 mx.gob.conocer.sii.commons.exception.ServiceException: Failed to close server connection after message sending; nested exception is javax.mail.MessagingException: Exception reading response; 
   nested exception is: 
         java.net.SocketTimeoutException: Read timed out 
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 
         at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 
         at mx.gob.conocer.sii.util.exception.ConocerExceptionBuilder.build(ConocerExceptionBuilder.java:44) 
         at mx.gob.conocer.sii.util.exception.ConocerExceptionBuilder.build(ConocerExceptionBuilder.java:31) 
         at mx.gob.conocer.sii.service.commons.notification.impl.NotificationServiceImpl.sendNotification(NotificationServiceImpl.java:47) 
         at mx.gob.conocer.sii.service.commons.notification.impl.NotificationServiceImpl.sendNotification(NotificationServiceImpl.java:36) 
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 
 </pre>

Back