On 02/03/2020 14:49, e...@wolfecomputerservices.com wrote: > Thanks for the reply Mark! > > Well, that stinks! It is new development and so it would only make sense to > use the latest server; however, if it is a step backward in functionality > (because supporting libraries are not available) then I guess I'll have to > use the previous version.
Jakarta EE 9 is still in development - hence why the Tomcat 10 release is a Milestone. It isn't a given that libraries written to the Java EE 8 APIs will be updated for the Jakarta EE 9. If Jakarta EE 9 versions of libraries are not available then there are a couple of options: 1. Convert an existing JAR written for Java EE 8 to Jakarta EE 9 using the migration tool the Tomcat team has written for that purpose. 2. Stick with Tomcat 9. We will be producing versions of Tomcat (9.10.x, 9.11.x etc) that align with Tomcat 10, Tomcat 11, etc. apart from the fact they will continue to support the Java EE 8 APIs so there is an upgrade path for newer Tomcat functionality while retaining Java EE 8 compatibility, Mark > > -----Original Message----- > From: Mark Thomas <ma...@apache.org> > Sent: Monday, March 2, 2020 9:34 AM > To: users@tomcat.apache.org > Subject: Re: Tomcat 10.0.0-M1 can't get JSP taglib to work > > On 02/03/2020 14:16, e...@wolfecomputerservices.com wrote: >> I have tried everything in the multiple threads on this site (non of >> them were for Tomcat 10 and non of the solved problem. I am using >> Apache NetBeans 11.1 with Apache Tomcat 10.0.0-M1. Below is my >> configuration -- if I remove the taglib line from my jsp file, the error > goes away. > > From the Tomcat 10.0.0-M1 release announcement: > > <quote> > Users of Tomcat 10 onwards should be aware that, as a result of the move > from Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse > Foundation, the primary package for all implemented APIs has changed from > javax.* to jakarta.*. This will almost certainly require code changes to > enable applications to migrate from Tomcat 9 and earlier to Tomcat 10 and > later. > </quote> > > >> <dependency> >> >> <groupId>javax</groupId> >> >> <artifactId>javaee-web-api</artifactId> >> >> <version>8.0.1</version> >> >> <scope>provided</scope> >> >> </dependency> > > That is never going to work on Tomact 10. You can't use Java EE 8 libraries > with a Jakarta EE 9 server. > >> <dependency> >> >> <groupId>javax.mail</groupId> >> >> <artifactId>mail</artifactId> >> >> <version>1.4.7</version> >> >> <type>jar</type> >> >> </dependency> > > That needs to be replaced with Jakarta Mail (there might be an RC for that > on Maven Central) > >> >> <dependency> >> >> <groupId>org.springframework</groupId> >> >> <artifactId>spring-web</artifactId> >> >> <version>5.1.10.RELEASE</version> >> >> </dependency> > > That won't work and, as far as I am aware, there is no Jakarta EE 9 version > available (or even being worked on) yet. > >> <dependency> >> >> <groupId>javax.servlet</groupId> >> >> <artifactId>jstl</artifactId> >> >> <version>1.2</version> >> >> <!--scope>provided</scope--> >> >> </dependency> > > You need the Jakarta Standard Tag Library 2.0 or later. I think that is one > of the Jakarta projects struggling for active committers. > > Tomcat 10 ships with an API and implementation for the Jakarta Standard Tag > Library 2.0 in the examples web application. It was created by taking the > JSTL 1.2 JARs and running them through Tomcat's Java EE 8 to Jakarta EE 9 > conversion / migration tool. > >> test.jsp > > <snip/> > > Might sticking with Tomcat 9 be a better option for you for now? > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org