aspose file tools*
The moose likes Spring and the fly likes Getting a resource not found error while creating a basic spring mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Getting a resource not found error while creating a basic spring mvc" Watch "Getting a resource not found error while creating a basic spring mvc" New topic
Author

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

Deepti Ghate
Greenhorn

Joined: Jun 20, 2012
Posts: 8
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

Joined: Jul 23, 2008
Posts: 296

Hi Deepti,

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

Regards
jatan
Deepti Ghate
Greenhorn

Joined: Jun 20, 2012
Posts: 8
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

Joined: Oct 31, 2011
Posts: 498

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?


PM Me If You Want to get Urgent Help on Java Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting a resource not found error while creating a basic spring mvc