I have developed a Email service using Spring Java mail and Velocity Template like below.
Email.java
@Component public class Email { pri
You cannot inject a Spring bean like that in a JSF managed bean. Change it to
@ManagedBean(name="person") @SessionScoped Public class Person{ @ManagedProperty(value="#{email}") private Email email ; // getter and setter for this. }
See also: