I am now seeing this: 17-Apr-2023 18:50:44.450 SEVERE [catalina-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception org.apache.jasper.JasperException: /com.cws.esolutions.web.login/jsp/html/en/Login.jsp (line: [1], column: [1]) Unable to find taglib [c] for URI: [jakarta.tags.core]
After updating the taglib imports on my jsp files ________________________________________________ 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:47 PM Torsten Krah <krah...@gmail.com> wrote: > And update your taglib definitions, see here: > > https://jakarta.ee/specifications/tags/3.0/ > > The old ones are deprecated/ removed: > > Quote: > > Rename java.sun.com taglib URIs to new jakarta.tags.* URNs. > > > > Kevin Huntly <kmhun...@gmail.com> schrieb am Di., 18. Apr. 2023, 00:34: > > > Now i'm getting these: > > > > 17-Apr-2023 18:32:03.236 INFO [main] > > org.apache.catalina.core.ApplicationContext.log No Spring > > WebApplicationInitializer types detected on classpath > > 17-Apr-2023 18:32:04.904 INFO [main] > > org.apache.catalina.core.ApplicationContext.log Initializing Spring > > DispatcherServlet 'eSolutions' > > 17-Apr-2023 18:32:16.844 SEVERE [catalina-exec-1] > > org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() > for > > servlet [eSolutions] in context with path [/esolutions] threw exception > > [Handler processing failed: java.lang.NoClassDefFoundError: > > jakarta/servlet/jsp/jstl/core/Config] with root cause > > java.lang.ClassNotFoundException: > > jakarta.servlet.jsp.jstl.core.Config > > > > 17-Apr-2023 18:32:16.986 SEVERE [catalina-exec-1] > > org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() > for > > servlet [jsp] threw exception > > org.apache.jasper.JasperException: > > /theme/cws/html/en/jsp/errHandler.jsp (line: [1], column: [1]) The > absolute > > uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either > > web.xml or the jar files deployed with this application > > > > I removed the apache taglibs dependency, clearly that was a mistake. > > ________________________________________________ > > > > 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:26 PM Torsten Krah <krah...@gmail.com> wrote: > > > > > You should only use https://jakarta.ee/specifications/tags/3.0/ and > not > > > the > > > old 1.2.5 one, remove that old one. > > > Why do you have both included? > > > > > > Kevin Huntly <kmhun...@gmail.com> schrieb am Di., 18. Apr. 2023, > 00:19: > > > > > > > <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------ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >