Skip to content

@RequestMapping is not resolved with springsource dm-server-ee-1.0.1 [SPR-5366] #10039

Closed
@spring-projects-issues

Description

@spring-projects-issues

Thomas Koeppen opened SPR-5366 and commented

we have the following configuration, that works fine with dm-server 1.0.1 (spring 2.5.6), but fails with dm-server-ee-1.0.1 (imported lib org.springframework.spring.instrumented)

application-web.xml

<context:component-scan base-package="com.foo.api" />
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"/>
<bean name="viewResolver"
    class="org.springframework.web.servlet.view.XmlViewResolver">
</bean>
class com.foo.api.FooController

@Controller("fooController")
public class FooController extends MultiActionController implements HandlerExceptionResolver {

@RequestMapping("/name")
	public ModelAndView listTags(@RequestParam(required=false, value="aVar") String aVar) {
....

/name was not resolved

[2008-12-16 18:54:50.351] TP-Processor2 org.springframework.web.servlet.PageNotFound.unknown W No mapping found for HTTP request with URI [/name] in DispatcherServlet with name 'foo-DispatcherServlet'

currently i am uncertain, if it is false configuration on our side, a dm-server bug or springframework issue, so creating this issue here first


Affects: 2.5.6

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions