You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Chris Geer (Updated) (JIRA)" <ji...@apache.org> on 2012/03/06 04:53:10 UTC

[jira] [Updated] (RAVE-488) Rave-vanilla extension to extend userservice is not working.

     [ https://issues.apache.org/jira/browse/RAVE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Geer updated RAVE-488:
----------------------------

    Attachment: RAVE-488.patch

I'm new to Rave and have been trying to get the vanilla portal up and running and was hung up on this issue. Attached is my patch to get things working better. It fixes this issue by adding the javax.mail dependency to the portal, fixes an issue where the DefaultUserService constructor has changed and updated the poms to map to version 0.10-SNAPSHOT. 

If we need to split the patch and create some other JIRA issues please let me know.
                
> Rave-vanilla extension to extend userservice is not working.
> ------------------------------------------------------------
>
>                 Key: RAVE-488
>                 URL: https://issues.apache.org/jira/browse/RAVE-488
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Raminderjeet Singh
>         Attachments: RAVE-488.patch
>
>
> I am getting following error to run rave-vanilla extension after userservice is extended for Email service and Password update
>  Error creating bean with name 'customUserService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.apache.rave.portal.service.EmailService org.apache.rave.portal.service.impl.DefaultUserService.emailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultEmailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.mail.javamail.JavaMailSender org.apache.rave.portal.service.impl.DefaultEmailService.mailSender; nested exception is java.lang.NoClassDefFoundError: Ljavax/mail/Session;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira