You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by stephen smithstone <sk...@lchost.co.uk> on 2004/03/21 19:44:56 UTC
Unable to instantiate an abstract class
simple home page
package uk.co.oyezstraker.apps.syslog.pages;
public abstract class Home extends BasePage{
}
in the Home.page
<page-specification class="uk.co.oyezstraker.apps.syslog.pages.Home"/>
when i go to /app
org.apache.tapestry.ApplicationRuntimeException
unable to instantiate an instance of class
uk.co.oyezstraker.apps.syslog.pages.Home
location context /WEB-INF/Home.page line 4 which is the
page-specification in the Home.page any ideas im using the 3 beta 4
download
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Unable to instantiate an abstract class
Posted by stephen smithstone <sk...@lchost.co.uk>.
Thanks just figured that one out
On 21 Mar 2004, at 18:51, Harish Krishnaswamy wrote:
> Why is your class abstract? Tapestry will only enhance the class if
> you have any <property-specification> declarations in your page
> specification.
>
> -Harish
>
> stephen smithstone wrote:
>
>> simple home page
>>
>> package uk.co.oyezstraker.apps.syslog.pages;
>>
>>
>> public abstract class Home extends BasePage{
>>
>> }
>>
>> in the Home.page
>>
>> <page-specification class="uk.co.oyezstraker.apps.syslog.pages.Home"/>
>>
>>
>> when i go to /app
>>
>> org.apache.tapestry.ApplicationRuntimeException
>>
>> unable to instantiate an instance of class
>> uk.co.oyezstraker.apps.syslog.pages.Home
>>
>> location context /WEB-INF/Home.page line 4 which is the
>> page-specification in the Home.page any ideas im using the 3 beta 4
>> download
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Unable to instantiate an abstract class
Posted by Harish Krishnaswamy <hk...@comcast.net>.
Why is your class abstract? Tapestry will only enhance the class if you
have any <property-specification> declarations in your page specification.
-Harish
stephen smithstone wrote:
> simple home page
>
> package uk.co.oyezstraker.apps.syslog.pages;
>
>
> public abstract class Home extends BasePage{
>
> }
>
> in the Home.page
>
> <page-specification class="uk.co.oyezstraker.apps.syslog.pages.Home"/>
>
>
> when i go to /app
>
> org.apache.tapestry.ApplicationRuntimeException
>
> unable to instantiate an instance of class
> uk.co.oyezstraker.apps.syslog.pages.Home
>
> location context /WEB-INF/Home.page line 4 which is the
> page-specification in the Home.page any ideas im using the 3 beta 4
> download
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org