I add this

    public static void contributeApplicationDefaults(
            MappedConfiguration<String, String> configuration)
    {
        configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
    }


to AppModule.java

but still no more stac trace:

An unexpected application exception has occurred.

java.lang.ClassNotFoundException: caught an exception while obtaining a
class file for ee.softpro.components.Border





2008/7/30 Filip S. Adamsen <[EMAIL PROTECTED]>

> You need to enable production mode.
>
> See the tapestry.production-mode symbol:
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html
>
> -Filip
>
>
> On 2008-07-29 22:59, Argo Vilberg wrote:
>
>> And  this is only stack trace in browser:
>>
>>
>>
>>  An unexpected application exception has occurred.
>>
>>  java.lang.ClassNotFoundException: caught an exception while obtaining a
>>  class file for ee.softpro.components.Border
>>
>>
>>
>> 2008/7/29 Carl Crowder <[EMAIL PROTECTED]>
>>
>>  Can you post the rest of the stacktrace?
>>>
>>> Also I got a 404 for the zip file you linked to
>>>
>>> Argo Vilberg wrote:
>>>
>>>> hi,
>>>>
>>>>
>>>> What i do wrong?
>>>>
>>>>
>>>> I want create tapestry border component.
>>>>
>>>>
>>>> In webapp:
>>>>    <context-param>
>>>>        <param-name>tapestry.app-package</param-name>
>>>>        <param-value>ee.softpro</param-value>
>>>>    </context-param>
>>>>
>>>> Then i create
>>>> ee.softpro.components.Border.java file
>>>> and also Border.tml file. in ee/softpro/components/ directory.
>>>>
>>>> And use them in Start.tml file
>>>> <html t:type="Border" xmlns:t="
>>>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>>>>
>>>> ....
>>>> </html>
>>>>
>>>> Then i compile all package to war using ant script.
>>>>
>>>>
>>>> Run the application and i got:
>>>>
>>>>
>>>> An unexpected application exception has occurred.
>>>>
>>>> java.lang.ClassNotFoundException: caught an exception while obtaining a
>>>> class file for ee.softpro.components.Border
>>>>
>>>>
>>>>
>>>> If i check war file then ee/softpro/components/Border.class  exists.
>>>>
>>>> course code in www.softpro.ee/arendus5.zip
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Argo
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> 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]
>
>

Reply via email to