Hi Norton,

Looking at your next message in the list, you still have an issue?
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24012
47

Can you send us some simple code reproducing your problem? It would help us
fix any remaining issue *quickly*. 

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com




-----Message d'origine-----
De : norton borf [mailto:woods5242-gr...@yahoo.com] 
Envoyé : jeudi 24 septembre 2009 23:39
À : discuss@restlet.tigris.org
Objet : SpringBeanFinder: No target class was defined for this finder

Hi,
I have my application, SpringBeanFinder and one resource setup as follows.
When I hit my URI I get the error in glassfish log of "No target class was
defined for this finder". My Resource should just returns a string that says
"dog"

I am using snapshot 2.0 in my maven POM as such
        
         <dependency>
        <groupId>org.restlet</groupId>
        <artifactId>org.restlet</artifactId>
        <version>2.0-SNAPSHOT</version>
        </dependency>
        <dependency>
        <groupId>org.restlet</groupId>
        <artifactId>org.restlet.ext.spring</artifactId>
        <version>2.0-SNAPSHOT</version>
        </dependency>


--------------------------
MY CONTEXT CONFIG EXCERPT
-------------------------

<bean id="testRestApp"
class="org.avalonon.rest.application.MyTestApplication">
        <property name="root" ref="router"/>
</bean>

<bean id="restletComponent" class="org.restlet.ext.spring.SpringComponent">
        <property name="defaultTarget" ref="testRestApp" />
</bean>


    <bean name="router" class="org.restlet.ext.spring.SpringBeanRouter"/>

        <!-- Prototype beans for the resources -->
        <bean name="/dog" 
                id="dogResource" 
                scope="prototype" 
                class="org.avalonon.rest.resource.DogResource"/>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24000
12

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2402901

Reply via email to