Exception constructing service 'ValueEncoderSource'
---------------------------------------------------
Key: TAPESTRY-2769
URL: https://issues.apache.org/jira/browse/TAPESTRY-2769
Project: Tapestry
Issue Type: Bug
Affects Versions: 5.1
Reporter: Tobias Marx
Priority: Minor
Exception constructing service 'ValueEncoderSource': Error invoking service
builder method
org.apache.tapestry5.services.TapestryModule.buildValueEncoderSource(Map,
InvalidationEventHub) (at TapestryModule.java:1910) (for service
'ValueEncoderSource'): Error invoking service contribution method
org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration,
boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess,
LoggerSource): Exception constructing service 'HibernateSessionSource': Error
invoking service builder method
org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionSource(Logger,
List, RegistryShutdownHub) (at HibernateCoreModule.java:123) (for service
'HibernateSessionSource'): JDBC Driver class not found: org.gjt.mm.mysql.Driver.
If tapestry-hibernate is added as a dependency - even when not used - Tapestry
crashes if no database driver is found - and a nasty server error occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.