Tapestry 4 beta 13
JDK 1.5.0-b64
Tomcat 5.5.9

I am in the process of taking a 99% finished Tapestry 3 project into T4, and 
is trying to get the first page to load properly.
Either I have made a basic mistake or there is a bug tripping my feet. I 
read about the problems with the differences in different JDKs reporting of 
declared methods, so I figured it might be caused by the methods being 
declared abstract in a super-class. I tried to define the abstract methods 
in the outermost class as well but it didn't fix the issue.

I use a couple of <inject>'s in the Home.page definition refering to spring 
singletons.

<inject property="Market" object="spring:personal.Market"/>

When I try to load the page I get:

An exception has occurred..... (rest follows below)

Any suggestions on how to fix?

Cheers,

Henrik
You may continue by restarting the session.

      org.apache.hivemind.ApplicationRuntimeException
      Error at context:/WEB-INF/Home.page, line 7, column 74: Method 
'abstract com.bluprinted.personal.market.Market 
com.bluprinted.personal.tapestry.FeaturePage.getMarket()' (declared in class 
com.bluprinted.personal.tapestry.FeaturePage) has no implementation in class 
com.bluprinted.personal.tapestry.FeaturePage (or enhanced subclass 
$FeaturePage_11).
      location: context:/WEB-INF/Home.page, line 7, column 74
            2 <!DOCTYPE page-specification
            3 PUBLIC "-//Apache Software Foundation//Tapestry Specification 
4.0//EN"
            4 "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
            5 <!-- generated by Spindle, http://spindle.sourceforge.net -->
            6
            7 <page-specification 
class="com.bluprinted.personal.tapestry.FeaturePage">
            8 <description><![CDATA[Starting page for regular desktop web 
browsers]]></description>
            9
            10 <component id="advertForeach" type="Foreach">
            11 <binding name="source" value="threeAdvertFeatures"/>
            12 <binding name="value" value="cursor"/>

      Stack Trace:
        a.. 
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
        b.. 
org.apache.hivemind.impl.ErrorLogImpl.error(ErrorLogImpl.java:40)
        c.. 
org.apache.tapestry.enhance.EnhancedClassValidatorImpl.validate(EnhancedClassValidatorImpl.java:89)
        d.. 
$EnhancedClassValidator_1078beba950.validate($EnhancedClassValidator_1078beba950.java)
        e.. 
org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:103)
        f.. 
$ComponentConstructorFactory_1078beba93f.getComponentConstructor($ComponentConstructorFactory_1078beba93f.java)
        g.. 
org.apache.tapestry.pageload.PageLoader.instantiatePage(PageLoader.java:563)
        h.. 
org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:591)
        i.. $IPageLoader_1078beba930.loadPage($IPageLoader_1078beba930.java)
        j.. $IPageLoader_1078beba931.loadPage($IPageLoader_1078beba931.java)
        k.. 
org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:117)
        l.. $IPageSource_1078beba89a.getPage($IPageSource_1078beba89a.java)
        m.. 
org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:266)
        n.. 
org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:249)
        o.. 
org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:612)
        p.. 
org.apache.tapestry.engine.PageService.service(PageService.java:66)






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to