• 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!