• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Simple spring project - 404 (plus other questions)

 
Ranch Hand
Posts: 53
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 53
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic