Spring MVC and Weblogic integration
        Posted  
        
            by Jeune
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jeune
        
        
        
        Published on 2010-05-14T02:34:41Z
        Indexed on 
            2010/05/14
            2:44 UTC
        
        
        Read the original article
        Hit count: 591
        
I get this error whenever I try to view my tutorial app in the browser
WARNING: No mapping found for HTTP request with URI [/HelloWorld.Web] in DispatcherServlet with name 'dispatcher'
That just means the request is being received by the dispatcher servlet but it can't forward it to a controller.
But I can't seem to know where the problem is. I think I've mapped this correctly:
<bean id="urlMapping" 
     class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
     <property name="mappings">
        <props>
           <prop key="/HelloWorld.Web">indexController</prop>
        </props>
     </property>    
</bean>
<bean id="indexController" class="com.helloworld.controller.IndexController">
    <property name="artistDao" ref="artistDao"/>    
    <property name="methodNameResolver">
        <bean class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
            <property name="alwaysUseFullPath" value="true"/>
            <property name="mappings">
                <props>
                    <prop key="/HelloWorld.Web">getAllArtists</prop>
                </props>
            </property>
        </bean>
    </property>
</bean>
I am using Spring 2.5.6 and Bea Weblogic Server 9.2
© Stack Overflow or respective owner