Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error running Chapter 3 Beer Selection application

 
Faisal Ahmad
Ranch Hand
Posts: 355
Chrome Java Redhat
  • 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
Chrome Java Redhat
  • 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
 
Sebastian Janisch
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
Chrome Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, you are right and that was my error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic