Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caused by: java.lang.ClassNotFoundException: retrofit2.Converter$Factory #238

Open
karenworld opened this issue Feb 28, 2023 · 0 comments
Open

Comments

@karenworld
Copy link

i am building a retrofit rest client with Jakarta web api with jstl, jsp with tomcat 10.1.16.

I get the following server error which I hope to get some resolutions here.

Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server version name: Apache Tomcat/10.1.6 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server built: Feb 19 2023 13:23:52 UTC Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server version number: 10.1.6.0 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: OS Name: Windows 10 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: OS Version: 10.0 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Architecture: amd64 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Java Home: C:\Users\karen\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.3.v20220515-1416\jre Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Version: 17.0.3+7 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Vendor: Eclipse Adoptium Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_BASE: C:\Users\karen\thales\thales-workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_HOME: C:\Program Files\Java\apache-tomcat-10.1.6 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.base=C:\Users\karen\thales\thales-workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.home=C:\Program Files\Java\apache-tomcat-10.1.6 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dwtp.deploy=C:\Users\karen\thales\thales-workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dfile.encoding=UTF-8 Feb 28, 2023 3:47:11 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -XX:+ShowCodeDetailsInExceptionMessages Feb 28, 2023 3:47:11 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: Loaded Apache Tomcat Native library [2.0.3] using APR version [1.7.2]. Feb 28, 2023 3:47:11 PM org.apache.catalina.core.AprLifecycleListener initializeSSL INFO: OpenSSL successfully initialized [OpenSSL 3.0.8 7 Feb 2023] Feb 28, 2023 3:47:12 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-nio-8080"] Feb 28, 2023 3:47:12 PM org.apache.catalina.startup.Catalina load INFO: Server initialization in [1325] milliseconds Feb 28, 2023 3:47:12 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Catalina] Feb 28, 2023 3:47:12 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/10.1.6] Feb 28, 2023 3:47:13 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [243] milliseconds. Feb 28, 2023 3:47:14 PM org.apache.catalina.core.ContainerBase startInternal SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/restPostMan]] at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:878) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:846) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322) 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:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:871) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:241) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:428) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:912) 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:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/restPostMan]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322) 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:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:871) ... 21 more

tks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant