2022-12-12 14:47:14 SLF4J: Found binding in [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2022-12-12 14:47:14 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2022-12-12 14:47:14 SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
2022-12-12 14:47:22 [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.
2022-12-12 14:47:22 [main] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.5 [built 11-December-2019 22:18:33 -0800; debug? true; trace: 10]
2022-12-12 14:47:29 [main] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool… com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement → 3, acquireRetryAttempts → 15, acquireRetryDelay → 1000, autoCommitOnClose → false, automaticTestTable → C3p0TestTable, breakAfterAcquireFailure → false, checkoutTimeout → 0, connectionCustomizerClassName → null, connectionTesterClassName → com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource → caller, dataSourceName → 1br8av7at1k6k7184k062|3482e24f, debugUnreturnedConnectionStackTraces → false, description → null, driverClass → com.mysql.cj.jdbc.Driver, extensions → {}, factoryClassLocation → null, forceIgnoreUnresolvedTransactions → false, forceSynchronousCheckins → false, forceUseNamedDriverClass → false, identityToken → 1br8av7at1k6k7184k062|3482e24f, idleConnectionTestPeriod → 1800, initialPoolSize → 50, jdbcUrl → jdbc:mysql://127.0.0.1:3306/qmetryonpre8102?zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useLegacyDatetimeCode=false&characterEncoding=utf8&connectionCollation=utf8mb4_unicode_ci&nullCatalogMeansCurrent=true, maxAdministrativeTaskTime → 0, maxConnectionAge → 0, maxIdleTime → 3600, maxIdleTimeExcessConnections → 600, maxPoolSize → 20, maxStatements → 0, maxStatementsPerConnection → 0, minPoolSize → 50, numHelperThreads → 3, preferredTestQuery → SELECT 1 from DUAL, privilegeSpawnedThreads → false, properties → {password=, user=}, propertyCycle → 0, statementCacheNumDeferredCloseThreads → 0, testConnectionOnCheckin → false, testConnectionOnCheckout → false, unreturnedConnectionTimeout → 600, userOverrides → {}, usesTraditionalReflectiveProxies → false ]
2022-12-12 14:47:29 [main] INFO org.quartz.ee.servlet.QuartzInitializerListener - Quartz Initializer Servlet loaded, initializing Scheduler…
2022-12-12 14:47:29 12-12-2022 09:17:29:430 +0000 WARN t=main l=org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘inMemorySwaggerResourcesProvider’ defined in URL [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/springfox-swagger-common-3.0.0.jar!/springfox/documentation/swagger/web/InMemorySwaggerResourcesProvider.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.swagger.web.InMemorySwaggerResourcesProvider]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘api’ defined in com.qmetry.swagger.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method ‘api’ threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.10.v20211216-fe64cd39c3): org.eclipse.persistence.exceptions.DatabaseException
2022-12-12 14:47:29 Internal Exception: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
2022-12-12 14:47:29
2022-12-12 14:47:29 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
2022-12-12 14:47:29 Error Code: 0
2022-12-12 14:47:29 12-12-2022 09:17:29:449 +0000 ERROR t=main l=org.springframework.web.context.ContextLoader - Context initialization failed
2022-12-12 14:47:29 org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘inMemorySwaggerResourcesProvider’ defined in URL [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/springfox-swagger-common-3.0.0.jar!/springfox/documentation/swagger/web/InMemorySwaggerResourcesProvider.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.swagger.web.InMemorySwaggerResourcesProvider]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘api’ defined in com.qmetry.swagger.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method ‘api’ threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.10.v20211216-fe64cd39c3): org.eclipse.persistence.exceptions.DatabaseException
2022-12-12 14:47:29 Internal Exception: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
2022-12-12 14:47:29
2022-12-12 14:47:29 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
2022-12-12 14:47:29 Error Code: 0
2022-12-12 14:47:29 at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:296)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
2022-12-12 14:47:29 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
2022-12-12 14:47:29 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
2022-12-12 14:47:29 at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
2022-12-12 14:47:29 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
2022-12-12 14:47:29 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
2022-12-12 14:47:29 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4764)
2022-12-12 14:47:29 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5222)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2022-12-12 14:47:29 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
2022-12-12 14:47:29 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
2022-12-12 14:47:29 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
2022-12-12 14:47:29 at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1023)
2022-12-12 14:47:29 at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1910)
2022-12-12 14:47:29 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
2022-12-12 14:47:29 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2022-12-12 14:47:29 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2022-12-12 14:47:29 at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
2022-12-12 14:47:29 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:824)
2022-12-12 14:47:29 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
2022-12-12 14:47:29 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1617)
2022-12-12 14:47:29 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
2022-12-12 14:47:29 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)
2022-12-12 14:47:29 at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2022-12-12 14:47:29 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
2022-12-12 14:47:29 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1383)
2022-12-12 14:47:29 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2022-12-12 14:47:29 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2022-12-12 14:47:29 at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
2022-12-12 14:47:29 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
2022-12-12 14:47:29 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:265)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2022-12-12 14:47:29 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:430)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2022-12-12 14:47:29 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
2022-12-12 14:47:29 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2022-12-12 14:47:29 at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
2022-12-12 14:47:29 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-12-12 14:47:29 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2022-12-12 14:47:29 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-12-12 14:47:29 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2022-12-12 14:47:29 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347)
2022-12-12 14:47:29 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478)
2022-12-12 14:47:29 Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.swagger.web.InMemorySwaggerResourcesProvider]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘api’ defined in com.qmetry.swagger.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method ‘api’ threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.10.v20211216-fe64cd39c3): org.eclipse.persistence.exceptions.DatabaseException
2022-12-12 14:47:29 Internal Exception: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
2022-12-12 14:47:29
2022-12-12 14:47:29 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
2022-12-12 14:47:29 Error Code: 0
2022-12-12 14:47:29 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:224)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
2022-12-12 14:47:29 at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:311)
2022-12-12 14:47:29 … 56 more
2022-12-12 14:47:29 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘api’ defined in com.qmetry.swagger.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method ‘api’ threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.10.v20211216-fe64cd39c3): org.eclipse.persistence.exceptions.DatabaseException
2022-12-12 14:47:29 Internal Exception: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
2022-12-12 14:47:29
2022-12-12 14:47:29 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
2022-12-12 14:47:29 Error Code: 0
Please, format your post properly as described in the following topic
You will get more replies if you help the helpers to understand your issue more easily.