Smells like a classpath problem where an old version of your app is
(or parts thereoff are) still lingering around on tomcat's classpath.
Try to run your app on a clean install of tomcat and see if it works. If
it runs in jetty on eclipse there is no problem with your tml's.
A quick way to see what's on the classpath is to use tapestries
ExceptionReport (http://localhost:8080/yourContext/ExceptionReport) ;-)
Cheers,
Joost
On 21/12/10 12:09 AM, Joe Klecko wrote:
Hi all,
I'm having problems getting my my T5.2.4 application to work on tomcat. It
works correctly when running via jetty (inside eclipse) but when I deploy it
to tomcat it throws this error:
"Embedded component(s) gridPlayerWallPostResponses are defined within
component class
com.presentation.components.editor.lists.PlayerWallpostResponseList (or a
super-class of PlayerWallpostResponseList), but are not present in the
component template (null)"
I have verified the .tml files are in the corerct classpath in the war file
(and I have also tried changing the maven-war-plugin setting "archiveClass"
configuration option to true).
Any help is much appreciated.
A bit more info on the .tml layout (if it helps):
Page:
Players.tml(path=classes/com/presentation/pages/editor/)
...
<t:EditPlayer t:id="editPlayer" />
...
Components:
EditPlayer.tml(path=classes/com/presentation/components/editor/)
...
<t:block t:id="blockPlayerWallPostResponse">
<t:editor.lists.PlayerWallpostResponseList
t:id="PlayerWallpostResponseList" />
</t:block>
...
PlayerWallpostResponseList.tml:
(path=classes/com/presentation/components/editor/lists/)
...
<t:grid t:id="gridPlayerWallPostResponses">
...
Thanks,
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org