You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by D Dart <ds...@yahoo.com> on 2008/10/13 19:45:04 UTC
TransformationException running tutorial
I'm doing this tutorial,
http://tapestry.apache.org/tapestry5/tutorial1/forms.html, but using Tomcat
instead of Jetty and "t5demo" instead of "org.apache.tapestry5.tutorial".
I'm getting this exception when trying to run it in Tomcat:
caught an exception while obtaining a class file for
t5demo.pages.address.CreateAddress
exception
org.apache.tapestry.internal.services.TransformationException:
java.lang.ClassNotFoundException: org.apache.tapestry5.annotations.Property
I've received this exception in the tutorial in prior chapters when the
Property annotation was used, but was able to work around it by adding
getters/setters.
Since this particular chapter uses beaneditform, I can't figure out a work
around. Does anybody have a fix for this issue?
thanks
--
View this message in context: http://www.nabble.com/TransformationException-running-tutorial-tp19959440p19959440.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: TransformationException running tutorial
Posted by D Dart <ds...@yahoo.com>.
Here's the answer in case somebody stumbles across this thread with the same
issue:
The web.xml file needed to be updated - org.apache.tapestry.TapestryFilter
needed to be changed to org.apache.tapestry5.TapestryFilter
Thiago H. de Paula Figueiredo wrote:
>
> Em Tue, 14 Oct 2008 13:56:04 -0300, D Dart <ds...@yahoo.com> escreveu:
>
>> Discovered that the WEB-INF/lib directory had 5.0.10 jars in it (new to
>> eclipse too), so I removed those and added the 5.0.15 jars, restarted
>> eclipse and fixed a few import paths, etc. Trying to run the app in
>> Tomcat produces this error, "The requested resource () is not available."
>
> Check the Tomcat logs. It looks like your application wasn't successfully
> started.
>
>> Problem after problem trying to run the few tutorials out there has
>> started
>> to turn me off using tapestry :(
>
> You're having problems with Eclipse, not with Tapestry yet. ;)
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> Consultor, desenvolvedor e instrutor em Java
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/TransformationException-running-tutorial-tp19959440p19983008.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: TransformationException running tutorial
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Tue, 14 Oct 2008 13:56:04 -0300, D Dart <ds...@yahoo.com> escreveu:
> Discovered that the WEB-INF/lib directory had 5.0.10 jars in it (new to
> eclipse too), so I removed those and added the 5.0.15 jars, restarted
> eclipse and fixed a few import paths, etc. Trying to run the app in
> Tomcat produces this error, "The requested resource () is not available."
Check the Tomcat logs. It looks like your application wasn't successfully
started.
> Problem after problem trying to run the few tutorials out there has
> started
> to turn me off using tapestry :(
You're having problems with Eclipse, not with Tapestry yet. ;)
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: TransformationException running tutorial
Posted by D Dart <ds...@yahoo.com>.
Discovered that the WEB-INF/lib directory had 5.0.10 jars in it (new to
eclipse too), so I removed those and added the 5.0.15 jars, restarted
eclipse and fixed a few import paths, etc. Trying to run the app in Tomcat
produces this error, "The requested resource () is not available."
I'm hoping to get some suggestions on where to look for the issue...
Problem after problem trying to run the few tutorials out there has started
to turn me off using tapestry :(
D Dart wrote:
>
> I'm using 5.0.15.
>
>
> Thiago H. de Paula Figueiredo wrote:
>>
>> What Tapestry version are you using? The @Property annotation was added
>> in
>> some release I cannot remeber exactly. Make sure you are using the latest
>> one. ;)
>>
>> Em Mon, 13 Oct 2008 15:45:04 -0200, D Dart <ds...@yahoo.com> escreveu:
>>
>>>
>>> I'm doing this tutorial,
>>> http://tapestry.apache.org/tapestry5/tutorial1/forms.html, but using
>>> Tomcat
>>> instead of Jetty and "t5demo" instead of
>>> "org.apache.tapestry5.tutorial".
>>> I'm getting this exception when trying to run it in Tomcat:
>>>
>>> caught an exception while obtaining a class file for
>>> t5demo.pages.address.CreateAddress
>>> exception
>>> org.apache.tapestry.internal.services.TransformationException:
>>> java.lang.ClassNotFoundException:
>>> org.apache.tapestry5.annotations.Property
>>>
>>> I've received this exception in the tutorial in prior chapters when the
>>> Property annotation was used, but was able to work around it by adding
>>> getters/setters.
>>>
>>> Since this particular chapter uses beaneditform, I can't figure out a
>>> work
>>> around. Does anybody have a fix for this issue?
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/TransformationException-running-tutorial-tp19959440p19977705.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: TransformationException running tutorial
Posted by D Dart <ds...@yahoo.com>.
I'm using 5.0.15.
Thiago H. de Paula Figueiredo wrote:
>
> What Tapestry version are you using? The @Property annotation was added in
> some release I cannot remeber exactly. Make sure you are using the latest
> one. ;)
>
> Em Mon, 13 Oct 2008 15:45:04 -0200, D Dart <ds...@yahoo.com> escreveu:
>
>>
>> I'm doing this tutorial,
>> http://tapestry.apache.org/tapestry5/tutorial1/forms.html, but using
>> Tomcat
>> instead of Jetty and "t5demo" instead of "org.apache.tapestry5.tutorial".
>> I'm getting this exception when trying to run it in Tomcat:
>>
>> caught an exception while obtaining a class file for
>> t5demo.pages.address.CreateAddress
>> exception
>> org.apache.tapestry.internal.services.TransformationException:
>> java.lang.ClassNotFoundException:
>> org.apache.tapestry5.annotations.Property
>>
>> I've received this exception in the tutorial in prior chapters when the
>> Property annotation was used, but was able to work around it by adding
>> getters/setters.
>>
>> Since this particular chapter uses beaneditform, I can't figure out a
>> work
>> around. Does anybody have a fix for this issue?
>>
>> thanks
>
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> Consultor, desenvolvedor e instrutor em Java
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/TransformationException-running-tutorial-tp19959440p19960810.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: TransformationException running tutorial
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
What Tapestry version are you using? The @Property annotation was added in
some release I cannot remeber exactly. Make sure you are using the latest
one. ;)
Em Mon, 13 Oct 2008 15:45:04 -0200, D Dart <ds...@yahoo.com> escreveu:
>
> I'm doing this tutorial,
> http://tapestry.apache.org/tapestry5/tutorial1/forms.html, but using
> Tomcat
> instead of Jetty and "t5demo" instead of "org.apache.tapestry5.tutorial".
> I'm getting this exception when trying to run it in Tomcat:
>
> caught an exception while obtaining a class file for
> t5demo.pages.address.CreateAddress
> exception
> org.apache.tapestry.internal.services.TransformationException:
> java.lang.ClassNotFoundException:
> org.apache.tapestry5.annotations.Property
>
> I've received this exception in the tutorial in prior chapters when the
> Property annotation was used, but was able to work around it by adding
> getters/setters.
>
> Since this particular chapter uses beaneditform, I can't figure out a
> work
> around. Does anybody have a fix for this issue?
>
> thanks
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org