Hi,
I've just created a test case with PageTester and running the test
gives the same exception as running the
application via maven (I guess, because it uses the same jetty
configuration as mvn jetty:run does ...)
Is there a way to configure eager class transformations?
or how does eclipse/jetty influence the configuration to perform eager
class transformations?
Thanks,
Michael
On Jun 29, 2008, at 12:47 PM, Christian Riedel wrote:
Hi,
I have a similar problem with the same error when I try to develop
on Ubuntu Linux. The same code in the same environment (eclipse,
tomcat5.5) works fine when I use Windows or OS X...
Michael Zehender schrieb:
Hi,
I've just finished the development of a t5 application, my
environment is maven/eclipse/jetty launcher
and inside this environment everything works just fine.
However there are some problems outside this environment,
especially outside launching jetty via
eclipse.
If I run mvn jetty:run (or use jetty/tomcat of my production
environment), it starts up and finds all necessary
components and packages. As soon as I access the start page an
exception page is shown:
org.apache.tapestry5.ioc.internal.util.TapestryException: Component
Index:layout does not contain an embedded component with id
'sidebar'. Available components: (none).
...
I've compared the startup of the elipse/jetty with mvn jetty:run
and the difference is:
eclipse/jetty: executes every class transformation of every
single component and page before rendering the start page
mvn jetty:run: just executes the class transformation of layout
and the start page
The component which isn't found (sidebar) is embedded within the
layout component.
I'd be pleased if somebody would have a solution/workaround to run
my application in the production environment.
Thanks,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]