• 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
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Simple spring project - 404 (plus other questions)

 
Ranch Hand
Posts: 43
4
  • 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: 43
4
  • 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
 
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!