I think I changed the 5.0.14 Maven archetype to enable debug logging
of the application, something you definitely want to roll back once
you get started.

On Tue, Jul 29, 2008 at 2:47 PM, Sven Homburg <[EMAIL PROTECTED]> wrote:
> this is the important part of the stacktrace:
>
>        ... 64 more
> Caused by: org.apache.tapestry5.internal.services.TransformationException:
> Class ee.softpro.components.Border contains field(s) (get
> User) that are not private. You should change these fields to private, and
> add accessor methods if needed.
>
>
> please check the tomcat docs to set up a higher log level, that helps you to
> find errors by yourself
> or use (better choice) maven/jetty
>
> 2008/7/29 Argo Vilberg <[EMAIL PROTECTED]>
>
>> 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]
>> >
>> >
>>
>
>
>
> --
> with regards
> Sven Homburg
> http://tapestry5-components.googlecode.com
> http://chenillekit.googlecode.com
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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

Reply via email to