I can recreate this exception if I make it so that Tapestry cannot find my page class file. Tapestry will synthesize a page class from BasePage if it cannot find your class. Not sure how I feel about this but that's the way it works. Some thoughts:
1) double-check the package your page class is in 2) double-check that the key in your application spec has the correct package 3) restart the server. Apparently app spec changes require a server restart to take effect 4) see the troubleshooting section of the article: http://wiki.apache.org/jakarta-tapestry/HowToSetupEclipseWtp Perhaps there is a synchronization problem. Check the temporary deployment directory for points 1 & 2 above. I've been getting sync problems a lot lately when I move resources--not sure if it's new in WTP 1.0 or I'm just doing something different. -= Mat On 2/7/06, jeff emminger <[EMAIL PROTECTED]> wrote: > ok, removed the class attribute, but now tapestry is not picking up > the Home class and is just using BasePage, resulting in the error: > Unable to read OGNL expression '<parsed OGNL expression>' of > [EMAIL PROTECTED]: $BasePage_0.helloMessage > > it does work if i put the class attribute back in as > class="com.test.Home" but this is what the meta key is supposed to do > for me, right? > > > On 2/5/06, Mat Gessel <[EMAIL PROTECTED]> wrote: > > Check the page specificaiton and remove the class attribute. This is > > overriding the meta key you specified. (The class attribute refers to > > the *fully qualified* class name--not the class name.) > > > > -= Mat > > > > On 2/4/06, jeff emminger <[EMAIL PROTECTED]> wrote: > > > great work! > > > > > > i must be doing something wrong, because when using other than the > > > default package, i keep getting an error: > > > Could not load class Home from WebappClassLoader delegate: false > > > repositories: /WEB-INF/classes/ ----------> Parent Classloader: > > > [EMAIL PROTECTED] : Home > > > > > > my Home class is in "com.test" and i've pointed .application to it: > > > <meta key="org.apache.tapestry.page-class-packages" value="com.test"/> > > > > > > any ideas? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
