Re: ClassNotFound after upgrade to tomcat 10
I chose option 1 and re-wrote everything. It was fun 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 Thu, Apr 20, 2023 at 12:48 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Kevin, > > On 4/17/23 17:56, Kevin Huntly wrote: > > 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 > > > You are trying to deploy a Java EE application onto a Jakarta EE server. > > You have a few options: > > 1. Re-write your application. (Best long-term strategy) > 2. Run the Tomcat Migration Tool on your application (WAR/dir) and > deploy that on to Tomcat 10.1 or later > 3. Put your application WAR/dir into Tomcat's "legacyAppBase" directory > for your (defaults to "webapps-javaee" next to the "webapps" > auto-deploy directory) > > As for this: > > On 4/17/23 19:18, Kevin Huntly wrote: > > Is there a way to get Eclipse to stop complaining about missing > > "javax.servlet.*" dependencies? It's complaining on every JSP I > > have... > Every JSP you have is broken, and Eclipse is telling you that. You have > to basically globally search-and-replace "javax.servlet" with > jakarta.servlet" in your whole application. > > -chris > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: ClassNotFound after upgrade to tomcat 10
Kevin, On 4/17/23 17:56, Kevin Huntly wrote: 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 You are trying to deploy a Java EE application onto a Jakarta EE server. You have a few options: 1. Re-write your application. (Best long-term strategy) 2. Run the Tomcat Migration Tool on your application (WAR/dir) and deploy that on to Tomcat 10.1 or later 3. Put your application WAR/dir into Tomcat's "legacyAppBase" directory for your (defaults to "webapps-javaee" next to the "webapps" auto-deploy directory) As for this: On 4/17/23 19:18, Kevin Huntly wrote: Is there a way to get Eclipse to stop complaining about missing "javax.servlet.*" dependencies? It's complaining on every JSP I have... Every JSP you have is broken, and Eclipse is telling you that. You have to basically globally search-and-replace "javax.servlet" with jakarta.servlet" in your whole application. -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: ClassNotFound after upgrade to tomcat 10
On 4/17/2023 6:13 PM, Kevin Huntly wrote: Thank you, all set. I guess I wasn't googling the right things lol, either that or I'm getting a little too used to asking on the list =( Yes. -Terence Bandoian On Mon, Apr 17, 2023 at 7:03 PM Torsten Krah wrote: The whole thing is also well answered there btw: https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be-r#4928309 Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:52: 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 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 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 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 schrieb am Di., 18. Apr. 2023, 00:19: 6.0.0 1.2.5 3.0.0 3.1.1 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 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 schrieb am Di., 18. Apr. 2023, 00:12: Thank you for that... I have the right (I think) dependencies in my pom: org.apache.taglibs taglibs-standard-impl ${taglibs.version} jar compile jakarta.servlet.jsp.jstl jakarta.servlet.jsp.jstl-api ${jstl.version} jar compile jakarta.servlet.jsp jakarta.servlet.jsp-api ${jsp-api.version} jar compile jakarta.servlet jakarta.servlet-api ${jakarta.servlet.version} jar provided I just want to use the jstl tag libraries =( Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE
Re: ClassNotFound after upgrade to tomcat 10
Just another quick question... and it may not be able to be answered here... Is there a way to get Eclipse to stop bitching about missing "javax.servlet.*" dependencies? It's complaining on every JSP I have... 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 7:13 PM Kevin Huntly wrote: > Thank you, all set. I guess I wasn't googling the right things lol, either > that or I'm getting a little too used to asking on the list =( > > > 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 7:03 PM Torsten Krah wrote: > >> The whole thing is also well answered there btw: >> >> >> https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be-r#4928309 >> >> Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:52: >> >> > 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 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 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 >> > wrote: >> > > > >> > > > > You should only use https://jakarta.ee/specifications/tags/3.0/ >> and >> > > not >> > > > > the >>
Re: ClassNotFound after upgrade to tomcat 10
Thank you, all set. I guess I wasn't googling the right things lol, either that or I'm getting a little too used to asking on the list =( 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 7:03 PM Torsten Krah wrote: > The whole thing is also well answered there btw: > > > https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be-r#4928309 > > Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:52: > > > 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 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 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 > > 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 schrieb am Di., 18. Apr. 2023, > > > 00:19: > > > > > > > > > > > 6.0.0 > > > > > > > > > > > > 1.2.5 > > > > > > > > > > > > 3.0.0 > > > > > > > > > > > > 3.1.1 > > > > > > > > > > > > > > > > > > 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+++* > > >
Re: ClassNotFound after upgrade to tomcat 10
The whole thing is also well answered there btw: https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be-r#4928309 Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:52: > 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 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 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 > 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 schrieb am Di., 18. Apr. 2023, > > 00:19: > > > > > > > > > 6.0.0 > > > > > > > > > > 1.2.5 > > > > > > > > > > 3.0.0 > > > > > > > > > > 3.1.1 > > > > > > > > > > > > > > > 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 > > > 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 schrieb am Di., 18. Apr. 2023, > > > > 00:12: > > > > > > > > > > > > > Thank you for that... I have the right (I think) dependencies > in > > my > > > > > pom: > > > > > >
Re: ClassNotFound after upgrade to tomcat 10
https://stackoverflow.com/questions/74585710/migration-to-jakarta-ee-unable-to-find-taglib-c-for-uri-jakarta-tags-core Does that help? Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:52: > 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 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 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 > 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 schrieb am Di., 18. Apr. 2023, > > 00:19: > > > > > > > > > 6.0.0 > > > > > > > > > > 1.2.5 > > > > > > > > > > 3.0.0 > > > > > > > > > > 3.1.1 > > > > > > > > > > > > > > > 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 > > > 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 schrieb am Di., 18. Apr. 2023, > > > > 00:12: > > > > > > > > > > > > > Thank you for that... I have the right (I think) dependencies > in > > my > > > > > pom: > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: ClassNotFound after upgrade to tomcat 10
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 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 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 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 schrieb am Di., 18. Apr. 2023, > 00:19: > > > > > > > 6.0.0 > > > > > > > > 1.2.5 > > > > > > > > 3.0.0 > > > > > > > > 3.1.1 > > > > > > > > > > > > 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 > > 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 schrieb am Di., 18. Apr. 2023, > > > 00:12: > > > > > > > > > > > Thank you for that... I have the right (I think) dependencies in > my > > > > pom: > > > > > > > > > > > > > > > > > > > > > > > > org.apache.taglibs > > > > > > > > > > > > taglibs-standard-impl > > > > > > > > > > > > ${taglibs.version} > > > > > > > > > > > > jar > > > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp.jstl > > > > > > > > > > > > jakarta.servlet.jsp.jstl-api > > > > > > > > > > > > ${jstl.version} > > > > > > > > > > > > jar > > > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: ClassNotFound after upgrade to tomcat 10
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 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 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 schrieb am Di., 18. Apr. 2023, 00:19: > > > > > 6.0.0 > > > > > > 1.2.5 > > > > > > 3.0.0 > > > > > > 3.1.1 > > > > > > > > > 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 > 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 schrieb am Di., 18. Apr. 2023, > > 00:12: > > > > > > > > > Thank you for that... I have the right (I think) dependencies in my > > > pom: > > > > > > > > > > > > > > > > > > > > org.apache.taglibs > > > > > > > > > > taglibs-standard-impl > > > > > > > > > > ${taglibs.version} > > > > > > > > > > jar > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp.jstl > > > > > > > > > > jakarta.servlet.jsp.jstl-api > > > > > > > > > > ${jstl.version} > > > > > > > > > > jar > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp > > > > > > > > > > jakarta.servlet.jsp-api > > > > > > > > > > ${jsp-api.version} > > > > > > > > > > jar > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet > > > > > > > > > > jakarta.servlet-api > > > > > > > > > > ${jakarta.servlet.version} > > > > > > > > > > jar > > > > > > > > > > provided > > > > > > > > > > > > > > > > > > > > > > > > > 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 > > > wrote: > > > > > > > > > > > Please read > >
Re: ClassNotFound after upgrade to tomcat 10
https://jakarta.ee/specifications/tags/3.0/tagdocs/c/tld-summary.html . . . just my two cents /mde/ On 4/17/2023 3:34 PM, Kevin Huntly wrote: 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 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 schrieb am Di., 18. Apr. 2023, 00:19: 6.0.0 1.2.5 3.0.0 3.1.1 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 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 schrieb am Di., 18. Apr. 2023, 00:12: Thank you for that... I have the right (I think) dependencies in my pom: org.apache.taglibs taglibs-standard-impl ${taglibs.version} jar compile jakarta.servlet.jsp.jstl jakarta.servlet.jsp.jstl-api ${jstl.version} jar compile jakarta.servlet.jsp jakarta.servlet.jsp-api ${jsp-api.version} jar compile jakarta.servlet jakarta.servlet-api ${jakarta.servlet.version} jar provided 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 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 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
Re: ClassNotFound after upgrade to tomcat 10
The Jakarta jstl ones have to be compile scope, they are not included in tomcat, do you have that? See the migration guide, spec section, only those APIs listed there should be provided scope. Kevin Huntly 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 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 schrieb am Di., 18. Apr. 2023, 00:19: > > > > > 6.0.0 > > > > > > 1.2.5 > > > > > > 3.0.0 > > > > > > 3.1.1 > > > > > > > > > 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 > 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 schrieb am Di., 18. Apr. 2023, > > 00:12: > > > > > > > > > Thank you for that... I have the right (I think) dependencies in my > > > pom: > > > > > > > > > > > > > > > > > > > > org.apache.taglibs > > > > > > > > > > taglibs-standard-impl > > > > > > > > > > ${taglibs.version} > > > > > > > > > > jar > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp.jstl > > > > > > > > > > jakarta.servlet.jsp.jstl-api > > > > > > > > > > ${jstl.version} > > > > > > > > > > jar > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp > > > > > > > > > > jakarta.servlet.jsp-api > > > > > > > > > > ${jsp-api.version} > > > > > > > > > > jar > > > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet > > > > > > > > > > jakarta.servlet-api > > > > > > > > > > ${jakarta.servlet.version} > > > > > > > > > > jar > > > > > > > > > > provided > > > > > > > > > > > > > > > > > > > > > > > > > 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 > > > wrote: > > > > > > > > > > > Please read > > > >
Re: ClassNotFound after upgrade to tomcat 10
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 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 schrieb am Di., 18. Apr. 2023, 00:19: > > > 6.0.0 > > > > 1.2.5 > > > > 3.0.0 > > > > 3.1.1 > > > > > > 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 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 schrieb am Di., 18. Apr. 2023, > 00:12: > > > > > > > Thank you for that... I have the right (I think) dependencies in my > > pom: > > > > > > > > > > > > > > > > org.apache.taglibs > > > > > > > > taglibs-standard-impl > > > > > > > > ${taglibs.version} > > > > > > > > jar > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp.jstl > > > > > > > > jakarta.servlet.jsp.jstl-api > > > > > > > > ${jstl.version} > > > > > > > > jar > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp > > > > > > > > jakarta.servlet.jsp-api > > > > > > > > ${jsp-api.version} > > > > > > > > jar > > > > > > > > compile > > > > > > > > > > > > > > > > > > > > > > > > jakarta.servlet > > > > > > > > jakarta.servlet-api > > > > > > > > ${jakarta.servlet.version} > > > > > > > > jar > > > > > > > > provided > > > > > > > > > > > > > > > > > > > > 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 > > 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 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 > > > > > >
Re: ClassNotFound after upgrade to tomcat 10
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 schrieb am Di., 18. Apr. 2023, 00:19: > 6.0.0 > > 1.2.5 > > 3.0.0 > > 3.1.1 > > > 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 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 schrieb am Di., 18. Apr. 2023, 00:12: > > > > > Thank you for that... I have the right (I think) dependencies in my > pom: > > > > > > > > > > > > org.apache.taglibs > > > > > > taglibs-standard-impl > > > > > > ${taglibs.version} > > > > > > jar > > > > > > compile > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp.jstl > > > > > > jakarta.servlet.jsp.jstl-api > > > > > > ${jstl.version} > > > > > > jar > > > > > > compile > > > > > > > > > > > > > > > > > > jakarta.servlet.jsp > > > > > > jakarta.servlet.jsp-api > > > > > > ${jsp-api.version} > > > > > > jar > > > > > > compile > > > > > > > > > > > > > > > > > > jakarta.servlet > > > > > > jakarta.servlet-api > > > > > > ${jakarta.servlet.version} > > > > > > jar > > > > > > provided > > > > > > > > > > > > > > > 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 > 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 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
Re: ClassNotFound after upgrade to tomcat 10
6.0.0 1.2.5 3.0.0 3.1.1 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 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 schrieb am Di., 18. Apr. 2023, 00:12: > > > Thank you for that... I have the right (I think) dependencies in my pom: > > > > > > > > org.apache.taglibs > > > > taglibs-standard-impl > > > > ${taglibs.version} > > > > jar > > > > compile > > > > > > > > > > > > jakarta.servlet.jsp.jstl > > > > jakarta.servlet.jsp.jstl-api > > > > ${jstl.version} > > > > jar > > > > compile > > > > > > > > > > > > jakarta.servlet.jsp > > > > jakarta.servlet.jsp-api > > > > ${jsp-api.version} > > > > jar > > > > compile > > > > > > > > > > > > jakarta.servlet > > > > jakarta.servlet-api > > > > ${jakarta.servlet.version} > > > > jar > > > > provided > > > > > > > > > > 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 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 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-- > > > > > > > > > >
Re: ClassNotFound after upgrade to tomcat 10
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 schrieb am Di., 18. Apr. 2023, 00:12: > Thank you for that... I have the right (I think) dependencies in my pom: > > > > org.apache.taglibs > > taglibs-standard-impl > > ${taglibs.version} > > jar > > compile > > > > > > jakarta.servlet.jsp.jstl > > jakarta.servlet.jsp.jstl-api > > ${jstl.version} > > jar > > compile > > > > > > jakarta.servlet.jsp > > jakarta.servlet.jsp-api > > ${jsp-api.version} > > jar > > compile > > > > > > jakarta.servlet > > jakarta.servlet-api > > ${jakarta.servlet.version} > > jar > > provided > > > > > 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 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 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-- > > > > > >
Re: ClassNotFound after upgrade to tomcat 10
Thank you for that... I have the right (I think) dependencies in my pom: org.apache.taglibs taglibs-standard-impl ${taglibs.version} jar compile jakarta.servlet.jsp.jstl jakarta.servlet.jsp.jstl-api ${jstl.version} jar compile jakarta.servlet.jsp jakarta.servlet.jsp-api ${jsp-api.version} jar compile jakarta.servlet jakarta.servlet-api ${jakarta.servlet.version} jar provided 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 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 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-- > > >
Re: ClassNotFound after upgrade to tomcat 10
Please read https://tomcat.apache.org/migration-10.html#Server_Pages_3.0 and while you are there, read the whole guide ;-). Kevin Huntly 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-- >
ClassNotFound after upgrade to tomcat 10
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--