I MADE IT... Just making clean build didn't work with me...
It was really a classpath problem. I created a WAR file of my application and ran it on Jetty but not from within Eclipse... it worked flawlessly. Previously I had another project, which had all of the libs, and my tapestry project accessed those libs in that project. I copied the tapestry libs and dependencies into WEB-INF/libs. Having done that, I clicked Run -> Jetty Web (that's the name of the instance I'm currently using to run Jetty) -> Classpath and removed the "{PROJECT NAME} default classpath". Then it worked perfectly. Greetings, Rodnei Couto Citando Howard Lewis Ship <[EMAIL PROTECTED]>: > Likely case is that com.helloworld.exampple.HelloWorld is duplicated > on the classpath in someway. Do a nice, clean build. > > On 4/11/06, Rodnei Couto <[EMAIL PROTECTED]> wrote: > > Hi list, > > > > I'm migrating my aplication from tapestry 3 to tapestry 4. I made this > > hivemind helloWorld example with tapestry to learn, but this didn't > > work. The exception is: > > > > The version of hivemind is 1.1.1. > > > > Somebody can help me? > > > > org.apache.hivemind.ApplicationRuntimeException > > Error at context:/WEB-INF/Home.page, line 9, column 68: Error adding > > property valor to class tapestryTest.Pagina: The value obtained using > > locator 'service:examples.HelloWorld' (<SingletonProxy for > > examples.HelloWorld(com.helloworld.exampple.HelloWorld)>) is not > > compatible with the existing property (of type > > com.helloworld.exampple.HelloWorld). > > > > > > HelloWorld Interface: > > > > package com.helloworld.exampple; > > public interface HelloWorld { > > public String getHelloWorld(); > > } > > > > HelloWorldImp Class: > > > > package com.helloworld.exampple; > > public class HelloWorldImp implements HelloWorld { > > public String getHelloWorld() { > > return "Hello World"; > > } > > } > > > > hivemind.xml > > > > <?xml version="1.0"?> > > <module id="examples" version="1.0.0" package="com.helloworld.exampple"> > > <service-point id="HelloWorld"> > > <invoke-factory> > > <construct class="HelloWorldImp"/> > > </invoke-factory> > > </service-point> > > </module> > > > > Home.page > > > > <page-specification class="tapestryTest.Pagina"> > > <inject property="valor" object="service:examples.HelloWorld"/> > > </page-specification> > > > > Home.java > > > > public abstract class Pagina extends BasePage { > > public abstract HelloWorld getValor(); > > public String getString(){ > > Object valor = getValor(); > > return getValor().getHelloWorld(); > > } > > } > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator, Jakarta Tapestry > Creator, Jakarta HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Tecgraf/PUC-Rio Webmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]