On Wed, 23 Jan 2013 13:03:09 -0200, nquirynen
<[email protected]> wrote:
Hi I'm using Tapestry 5.3 and also tapestry-hibernate.
Hi!
Can someone point me to where to find the problem?
Yep! It's right in the beginning of the error message! :D ;)
java.lang.RuntimeException: Exception constructing service
'ValueEncoderSource': Error invoking service contribution method
org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration,
boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess,
LoggerSource): Service contribution (to service 'ValueEncoderSource')
conflicts with existing contribution (by
org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration,
boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess,
LoggerSource) (at HibernateModule.java:87)).
The HibernateModule.contributeValueEncoderSource() method is being invoked
twice, which is one too many. This probably means you have two different
tapestry-hibernate JARs in your classpath. You should have just one.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]