0

I have followed instructions from http://zetcode.com/java/ejb/ to create a simple web app. It runs fine with eclipse, where it uses Glassfish server 4.1. To deploy to Tomcat, I simply copied the war file produced to the webapps folder of Tomcat 9. Tomecat 9 extracted the war file fine, and the HTML files work fine, but anything related to Java servlets fail, as shown below.

What could I be missing? enter image description here

AlexScalar
  • 1,729
  • 3
  • 10
  • 17

1 Answers1

2

Standard Tomcat distribution doesn't support EJBs. Use Tomcat EE for that, see for instance this answer.

MirMasej
  • 1,592
  • 12
  • 17