smallufo wrote:
> @Stateless
> @Repository
> public class MergingServiceImpl implements Serializable, MergingService
> {
>   @Inject private UserOldDao userOldDao;
> ...
> }

Do you have the signature of the UserOldDao? In other words, is it a 
plain class or a generic one (or inherits from a generic).

thanks,

-- Scott

>
> This works in 4.0.7 , but fails in 4.0.9
> 2010-08-06 08:23:53,388 INFO  impl.SessionFactoryObjectFactory - Not 
> binding factory to JNDI, no JNDI name configured
> 2010-08-06 08:23:53,389 INFO  util.NamingHelper - JNDI InitialContext 
> properties:{}
> 2010-08-06 08:23:53,391 WARN  impl.SessionFactoryImpl - 
> JTASessionContext being used with JDBCTransactionFactory; auto-flush 
> will not operate correctly with getCurrentSession()
> 2010-08-06 08:23:53,392 INFO  cache.UpdateTimestampsCache - starting 
> update timestamps cache at region: 
> org.hibernate.cache.UpdateTimestampsCache
> 2010-08-06 08:23:53,392 INFO  cache.StandardQueryCache - starting 
> query cache at region: org.hibernate.cache.StandardQueryCache
> [10-08-06 08:23:53.682] {main} WebApp[http://destiny.smallufo.com] fail
> [10-08-06 08:23:53.690] {main} 
> javax.enterprise.inject.UnsatisfiedResolutionException: Can't find a 
> bean for 'interface destiny.web.ubbthreads7.old.UserOldDao' because no 
> beans implementing that class have been registered with the injection 
> manager InjectManager[stateless:null#MergingServiceImpl].
>                                 at 
> com.caucho.config.inject.InjectManager.unsatisfiedException(InjectManager.java:2153)
>                                 at 
> com.caucho.config.inject.InjectManager.resolveByInjectionPoint(InjectManager.java:2336)
>
>
> I have to take off @Stateless to make it work in 4.0.9
> Maybe this is because of some conflicts between Spring(3.0.3) and 
> Resin's CanDI 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>   



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to