You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by 滕训华 <te...@magic-sw.com.cn> on 2008/04/03 02:37:24 UTC
The error when create my own component[t5]
According the book[Tapestry.5.Building.Web.Applications] --Create own
component ,but when i create the dateinput component and run it in a simple
page,i get the follow error:
An unexpected application exception has occurred.
Exception constructing service 'ValueEncoderSource': Error invoking service
builder method org.apache.tapestry.services.TapestryModule.build(Map) (at
TapestryModule.java:1567) (for service 'ValueEncoderSource'): Error invoking
service contribution method
org.apache.tapestry.hibernate.HibernateModule.contributeValueEncoderSource(M
appedConfiguration, HibernateSessionSource, Session, TypeCoercer): Exception
constructing service 'HibernateSessionSource': Error invoking service
builder method org.apache.tapestry.hibernate.HibernateModule.build(Logger,
List, RegistryShutdownHub) (at HibernateModule.java:124) (for service
'HibernateSessionSource'): org/dom4j/DocumentException
I don't know what caused this error?please help me.
Re: The error when create my own component[t5]
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Hi there,
Is there a longer stacktrace available? Anyhow, the problem is mostly
likely somewhere in your code, a configuration file or perhaps a
Tapestry page or component .tml file.
If you've got some code to show that would probably help as well. Also,
be aware that Tapestry has changed a bit since the publication of the
book you're using.
-Filip
On 2008-04-03 02:37, 滕训华 wrote:
> According the book[Tapestry.5.Building.Web.Applications] --Create own
> component ,but when i create the dateinput component and run it in a simple
> page,i get the follow error:
>
>
>
>
> An unexpected application exception has occurred.
>
> Exception constructing service 'ValueEncoderSource': Error invoking service
> builder method org.apache.tapestry.services.TapestryModule.build(Map) (at
> TapestryModule.java:1567) (for service 'ValueEncoderSource'): Error invoking
> service contribution method
> org.apache.tapestry.hibernate.HibernateModule.contributeValueEncoderSource(M
> appedConfiguration, HibernateSessionSource, Session, TypeCoercer): Exception
> constructing service 'HibernateSessionSource': Error invoking service
> builder method org.apache.tapestry.hibernate.HibernateModule.build(Logger,
> List, RegistryShutdownHub) (at HibernateModule.java:124) (for service
> 'HibernateSessionSource'): org/dom4j/DocumentException
>
>
> I don't know what caused this error?please help me.
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org