Component-scan does not work in Jboss EAP 6 with Spring 2.5

Solution Verified - Updated -

Issue

Using Spring 2.5.6 and spring mvc,"Dispatcher servlet" can not call Controller which is registered with annotation.

Error message
12:44:59,384 WARN [org.springframework.web.servlet.PageNotFound] (http-/127.0.0.1:8080-1) No mapping found for HTTP request with URI [/template/guide/selectNotificationList.do] in DispatcherServlet with name 'action' Notice)
Same application is working well with Tomcat 6, Tomcat 7, Jetty 6, GlassFish 3.1.2. Same application with spring 3.2 version is working well with EAP6

Environment

  • JBoss Enterprise Application Platform
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.