Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting a resource not found error while creating a basic spring mvc

 
Deepti Ghate
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My build.xml



My web.xml


My springapp-servlet.xml



My HelloController.java



My view Hello.jsp



The console shows no errors and is as follows

Oct 4, 2012 5:52:08 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:springapp' did not find a matching property.
Oct 4, 2012 5:52:08 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:springapps' did not find a matching property.
Oct 4, 2012 5:52:08 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\jre1.5.0_07\bin;.;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.5.0_07/bin/client;C:/Program Files/Java/jre1.5.0_07/bin;C:\Program Files\CA\SC\CAWIN\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\CA\SC\CAM\bin;C:\Program Files\CA\DSM\bin;C:\Program Files\TortoiseSVN\bin
Oct 4, 2012 5:52:08 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 4, 2012 5:52:08 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 330 ms
Oct 4, 2012 5:52:08 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 4, 2012 5:52:08 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Oct 4, 2012 5:52:09 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 4, 2012 5:52:09 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 4, 2012 5:52:09 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
Oct 4, 2012 5:52:09 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 314 ms

Also in the problems tab i am getting many class dependency validator messages...
Can anyone please help...
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deepti,

Is it generating the war file and is it deployed in the tomcat ?

Regards
jatan
 
Deepti Ghate
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jatan,

Yes the war file is generated and the project is getting deployed.
The class files have also been generated.
There arent any errors in console either.
However still get 404 error resource not found
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepti Ghate wrote:Hi Jatan,

Yes the war file is generated and the project is getting deployed.
The class files have also been generated.
There arent any errors in console either.
However still get 404 error resource not found


You didn't tell us what you did which causes 404 error. What URL did you type?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic