Mar 4, 2010 3:08:21 PM org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI [/mvcdemoapp/helloWorld] in DispatcherServlet with name 'example'
Regards
Sudhakar
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Craig Walls wrote:I think Mark's right...the path should probably be "/*"
Mar 5, 2010 10:53:22 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_15\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\IBM\WebSphere MQ\Java\lib;D:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\IBM\Trace Facility;C:\Program Files\Personal Communications;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Windows Imaging\;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Java\jdk1.6.0_12\bin;C:\Program Files\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;C:\Program Files\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;.;C:\ANT\apache-ant-1.7.1\bin;C:\Program Files\CollabNet Subversion Client;C:\Program Files\glassfish-v2ur2\javadb\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\apache-maven-2.2.1\bin;C:\Documents and Settings\149955\Desktop\gwt-windows-1.7.0\gwt-windows-1.7.0
Mar 5, 2010 10:53:22 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:mvcdemoapp' did not find a matching property.
Mar 5, 2010 10:53:23 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 5, 2010 10:53:23 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2021 ms
Mar 5, 2010 10:53:23 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 5, 2010 10:53:23 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Mar 5, 2010 10:53:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'example'
Mar 5, 2010 10:53:24 AM org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'example': initialization started
Mar 5, 2010 10:53:24 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace 'example-servlet': startup date [Fri Mar 05 10:53:24 GMT+05:30 2010]; root of context hierarchy
Mar 5, 2010 10:53:24 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/application-config.xml]
Mar 5, 2010 10:53:25 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@149d886: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor]; root of factory hierarchy
Mar 5, 2010 10:53:27 AM org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'example': initialization completed in 3406 ms
Mar 5, 2010 10:53:27 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 5, 2010 10:53:27 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 5, 2010 10:53:27 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Mar 5, 2010 10:53:27 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4862 ms
Mar 5, 2010 10:54:13 AM org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI [/mvcdemoapp/helloWorld] in DispatcherServlet with name 'example'
Regards
Sudhakar
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@149d886: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor];
<context:component-scan base-package="com.mvcdemoapp"></context:component-scan>
Kuldeep Yadav wrote:Hi,
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@149d886: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,
org.springframework.context.annotation.internalAutowiredAnnotationProcessor,
org.springframework.context.annotation.internalRequiredAnnotationProcessor,
org.springframework.context.annotation.internalCommonAnnotationProcessor];
above log suggest bean for WelcomeController is not created.
Also logs for registering handler are missing.
May be your WelcomeController class package and component-scan base-package in application-context.xml are different.
<context:component-scan base-package="com.mvcdemoapp"></context:component-scan>
Both should be exactly same.
Thanks.
Regards
Sudhakar
Regards
Sudhakar
Regards
Sudhakar
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |