You right. I don't know why I didn't create it in the repository folder.
Done with the next PR


2014-02-15 17:55 GMT-05:00 Julien Dubois <notifications@github.com>:

> In
> app/templates/src/main/java/package/config/_AuditEventConfiguration.java:
>
> > +import org.springframework.context.annotation.Bean;
> > +import org.springframework.context.annotation.Configuration;
> > +
> > +import javax.inject.Inject;
> > +import java.util.ArrayList;
> > +import java.util.Date;
> > +import java.util.List;
> > +
> > +@Configuration
> > +public class AuditEventConfiguration {
> > +
> > +    @Inject
> > +    private PersistenceAuditEventRepository persistenceAuditEventRepository;
> > +
> > +    @Bean
> > +    public AuditEventRepository auditEventRepository() {
>
> I don't understand why you had an error injecting it.
> But it's a repository, so it should be in the "repository" package. As
> it's an implementation, I would do a:
> com.mycompany.myapp.repository.CustomAuditEventRepository
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/jhipster/generator-jhipster/pull/123/files#r9774841>
> .
>