• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

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

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 300
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic