• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Error running Chapter 3 Beer Selection application

 
Ranch Hand
Posts: 355
Redhat Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

When I try to run Chapter 3 Beer Selection application (changed it to Coffee Selection), I always get this error:

I've kept all the things same as per the instructions in the book. Could you please tell me how to resolve the above error?

Thanks!
 
Faisal Ahmad
Ranch Hand
Posts: 355
Redhat Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Figured out the error!
Instead of using <web-app> I used <web-apps> in web.xml
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can this be right ? The deployment descriptors top element should be web-app and not web-apps. At least to my knowledge.
 
Faisal Ahmad
Ranch Hand
Posts: 355
Redhat Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, you are right and that was my error.
 
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic