<jakarta.servlet.version>6.0.0</jakarta.servlet.version> <taglibs.version>1.2.5</taglibs.version>
<jstl.version>3.0.0</jstl.version> <jsp-api.version>3.1.1</jsp-api.version> ________________________________________________ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 ________________________________________________ -----BEGIN GEEK CODE BLOCK----- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* ------END GEEK CODE BLOCK------ On Mon, Apr 17, 2023 at 6:17 PM Torsten Krah <krah...@gmail.com> wrote: > All the api ones have to be provided, not compile scope imho. Tomcat does > provide them, don't package them in your war file and double check the > versions from the guide, there is still a class referencing the old API and > is causing the exception. > > You missed to add the versions you used, add them here please, the > information you provided is lacking those crucial detail. > > Kevin Huntly <kmhun...@gmail.com> schrieb am Di., 18. Apr. 2023, 00:12: > > > Thank you for that... I have the right (I think) dependencies in my pom: > > > > <dependency> > > > > <groupId>org.apache.taglibs</groupId> > > > > <artifactId>taglibs-standard-impl</artifactId> > > > > <version>${taglibs.version}</version> > > > > <type>jar</type> > > > > <scope>compile</scope> > > > > </dependency> > > > > <dependency> > > > > <groupId>jakarta.servlet.jsp.jstl</groupId> > > > > <artifactId>jakarta.servlet.jsp.jstl-api</artifactId> > > > > <version>${jstl.version}</version> > > > > <type>jar</type> > > > > <scope>compile</scope> > > > > </dependency> > > > > <dependency> > > > > <groupId>jakarta.servlet.jsp</groupId> > > > > <artifactId>jakarta.servlet.jsp-api</artifactId> > > > > <version>${jsp-api.version}</version> > > > > <type>jar</type> > > > > <scope>compile</scope> > > > > </dependency> > > > > <dependency> > > > > <groupId>jakarta.servlet</groupId> > > > > <artifactId>jakarta.servlet-api</artifactId> > > > > <version>${jakarta.servlet.version}</version> > > > > <type>jar</type> > > > > <scope>provided</scope> > > > > </dependency> > > > > > > I just want to use the jstl tag libraries =( > > ________________________________________________ > > > > Kevin Huntly > > Email: kmhun...@gmail.com > > Cell: 716/424-3311 > > ________________________________________________ > > > > -----BEGIN GEEK CODE BLOCK----- > > Version: 1.0 > > GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- > > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) > > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > > G++ e(+) h--- r+++ y+++* > > ------END GEEK CODE BLOCK------ > > > > > > On Mon, Apr 17, 2023 at 6:07 PM Torsten Krah <krah...@gmail.com> wrote: > > > > > Please read > https://tomcat.apache.org/migration-10.html#Server_Pages_3.0 > > > and while you are there, read the whole guide ;-). > > > > > > Kevin Huntly <kmhun...@gmail.com> schrieb am Mo., 17. Apr. 2023, > 23:57: > > > > > > > Hello, > > > > > > > > I'm getting the following exception when I try to access my webapp: > > > > > > > > 17-Apr-2023 17:52:55.982 SEVERE [catalina-exec-1] > > > > org.apache.catalina.core.ApplicationDispatcher.invoke > Servlet.service() > > > for > > > > servlet [jsp] threw exception > > > > java.lang.ClassNotFoundException: > > > > javax.servlet.jsp.tagext.TagLibraryValidator > > > > at > > > > > > > > > > > > > > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1437) > > > > at > > > > > > > > > > > > > > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1245) > > > > at > java.base/java.lang.ClassLoader.defineClass1(Native > > > > Method) > > > > at > > > > java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1013) > > > > at > > > > > > > > > > > > > > java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) > > > > at > > > > > > > > > > > > > > org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2487) > > > > at > > > > > > > > > > > > > > org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:865) > > > > at > > > > > > > > > > > > > > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1401) > > > > at > > > > > > > > > > > > > > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1245) > > > > > > > > it's running on AlmaLinux and tomcat 10.1.7. If I do a grep for > > > > "TagLibraryValidator" I can find it in my app under WEB-INF/lib, so > I'm > > > not > > > > sure what's going on > > > > ________________________________________________ > > > > > > > > Kevin Huntly > > > > Email: kmhun...@gmail.com > > > > Cell: 716/424-3311 > > > > ________________________________________________ > > > > > > > > -----BEGIN GEEK CODE BLOCK----- > > > > Version: 1.0 > > > > GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- > > > > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) > > > > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > > > > G++ e(+) h--- r+++ y+++* > > > > ------END GEEK CODE BLOCK------ > > > > > > > > > >