Olá a todos
Tenho aplicações rodando em Tomcat 7 e funcionam sem problemas. Estou me preparando para migrar para o tomcat 10 porque o novo servidor exige e não consigo startar a aplicação mais simples que eu tenho.
Desde já agradeço a ajuda
Este é o console:
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name: Apache Tomcat/10.0.6
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: May 8 2021 15:24:15 UTC
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 10.0.6.0
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 10
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 10.0
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\eclipse-jee-2021-03-R-win32-x86_64\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.2.v20210201-0955\jre
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 15.0.2+7-27
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\DesenvolJava\.metadata\.plugins\org.eclipse.wst.server.core\tmp2
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:\Tomcat 10.0
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\DesenvolJava\.metadata\.plugins\org.eclipse.wst.server.core\tmp2
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Tomcat 10.0
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=C:\DesenvolJava\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=Cp1252
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+ShowCodeDetailsInExceptionMessages
jun. 10, 2021 3:29:31 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [C:\eclipse-jee-2021-03-R-win32-x86_64\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.2.v20210201-0955\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/eclipse-jee-2021-03-R-win32-x86_64/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.2.v20210201-0955/jre/bin/server;C:/eclipse-jee-2021-03-R-win32-x86_64/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.2.v20210201-0955/jre/bin;C:\vmware16\bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\app\itamar\product\11.2.0\client_1\bin;C:\Program Files (x86)\CollabNet\Subversion Client;C:\Program Files (x86)\Embarcadero\RAD Studio\8.0\bin;C:\Users\Public\Documents\RAD Studio\8.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\18.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\18.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\18.0\bin64;C:\Users\Public\Documents\Embarcadero\Studio\18.0\Bpl\Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\itamar\AppData\Local\Microsoft\WindowsApps;;C:\eclipse-jee-2021-03-R-win32-x86_64\eclipse;;.]
jun. 10, 2021 3:29:31 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8085"]
jun. 10, 2021 3:29:31 PM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [484] milliseconds
jun. 10, 2021 3:29:31 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
jun. 10, 2021 3:29:31 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/10.0.6]
jun. 10, 2021 3:29:33 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
jun. 10, 2021 3:29:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet [Faces Servlet] as unavailable
jun. 10, 2021 3:29:33 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet [Faces Servlet] in web application [/Werner_PCP] threw load() exception
java.lang.ClassCastException: class javax.faces.webapp.FacesServlet cannot be cast to class jakarta.servlet.Servlet (javax.faces.webapp.FacesServlet is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3f053c80; jakarta.servlet.Servlet is in unnamed module of loader java.net.URLClassLoader @573f2bb1)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1043)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:984)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4851)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:880)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:433)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:795)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
jun. 10, 2021 3:29:33 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8085"]
jun. 10, 2021 3:29:33 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in [1895] milliseconds