You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Borut BolĨina <bo...@gmail.com> on 2009/06/17 10:05:32 UTC

T 5.0.18, Chenillekit 1.0.0

Hi,

just a word of caution when using and deploying an application when using
those two artifacts. When using Maven to create WAR, two Javassist libraries
with different versions end up in the lib directory.

Use

        <dependency>
            <groupId>org.chenillekit</groupId>
            <artifactId>chenillekit-tapestry</artifactId>
            <version>1.0.0</version>
            <exclusions>
                <exclusion>
                  <groupId>jboss</groupId>
                  <artifactId>javassist</artifactId>
                </exclusion>
            </exclusions>
        </dependency>


to avoid possible Exceptions at runtime:

[17 Jun 2009 08:29:46.924] ERROR: Unexpected runtime exception:
java.lang.ClassNotFoundException: caught an exception while obtaining a
class file for com.acme.pages.nsc.Login
org.apache.tapestry5.runtime.ComponentEventException:
java.lang.ClassNotFoundException: caught an exception while obtaining a
class file for com.acme.pages.nsc.Login
        at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1076)
        at
org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:52)
        at
org.apache.tapestry5.services.TapestryModule$35.handle(TapestryModule.java:1779)
        at
$PageRenderRequestHandler_121e95705e5.handle($PageRenderRequestHandler_121e95705e5.java)
        at
$PageRenderRequestHandler_121e95705d7.handle($PageRenderRequestHandler_121e95705d7.java)
        at
org.apache.tapestry5.internal.services.PageRenderDispatcher.process(PageRenderDispatcher.java:92)
        at
org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:71)
...


Cheers,
Borut