• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Simple spring project - 404 (plus other questions)

 
Ranch Hand
Posts: 37
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im working off a tutorial to create an app using Spring MVC

I have a couple of questions about my project

1.  From the project structure attached, how come I have two pom.xml files ? Both have the same content, (spring dependencies) and also why is it buried in the Workspace folder - doesn't look normal
Why do my packages look and act like folders? Is this simply an superficial thing or will this cause problems ? (i also noted my java classes doent flag errors if I make a typo)




2.  I get a 404 not found error when running my app on tomcat (But i am able to view the Index 'Hello world page)

I believe this means the project is created properly but I have a typo somewhere in my directory which leads to the 404. - I just want to make sure that this is the case before ruling out error with my workspage setup
project-structure.png
[Thumbnail for project-structure.png]
project structure
 
Kevin Mckeon
Ranch Hand
Posts: 37
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i forgot to add the second attachment !
webXML-404-and-indexJSP.PNG
[Thumbnail for webXML-404-and-indexJSP.PNG]
webXML 404 and indexJSP.PNG
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!