[
https://issues.apache.org/jira/browse/TAPESTRY-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909710#action_12909710
]
Thiago H. de Paula Figueiredo commented on TAPESTRY-2769:
---------------------------------------------------------
This should be posted to the TAP5 project, as TAPESTRY is used to track
Tapestry 4.
This bug is invalid, as you shouldn't add JARs with Tapestry-IoC modules that
you don't use in the classpath. That's how Tapestry-IoC works: you don't need
to configure anything for a Tapestry-IoC module to be loaded and be ready to
work.
Please post your questions in the Tapestry mailing list before posting a JIRA.
> 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.