Open bigfoote opened 3 years ago
may be related to this issue https://github.com/luminus-framework/luminus/issues/280 there's currently a bug with how the handler is configured for the war
Upon further testing, this seems to only be a problem with Tomcat 10, as it doesn't come up on multiple machines running Tomcat 9.
I'll try test out with tomcat 10 when I get a chance. Odd that the ServletContextListener wouldn't be available though, seems like a key thing for a servlet container.
This looks related to this issue: https://stackoverflow.com/questions/66711660/tomcat-10-x-throws-java-lang-noclassdeffounderror-on-javax-servlet-servletreques If so, you just can't use Clojure with Jakarta EE 9, just yet. There is a namespace change (from javax to jakarta). That makes us stuck with Tomcat 9 for now.
creating a brand new luminus app with +war and even +servlet, calling "lein uberwar" and then copying the .war into Tomcat's /webapps folder results in the following error: