执行java -jar app-0.69.jar报错

lisa 9天前 65

执行java -jar app-0.69.jar后报错如下,请问该如何解决这个问题呢,目前算是运行成功了吗

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/wildfirechat/app-0.69.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/wildfirechat/app-0.69.jar!/BOOT-INF/lib/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/wildfirechat/app-0.69.jar!/BOOT-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::       (v2.2.10.RELEASE)

2025-05-21 09:56:13.687  INFO 1085666 --- [           main] cn.wildfirechat.app.Application          : Starting Application v0.69 on ubuntu with PID 1085666 (/opt/wildfirechat/app-0.69.jar started by root in /opt/wildfirechat)
2025-05-21 09:56:13.698  INFO 1085666 --- [           main] cn.wildfirechat.app.Application          : No active profile set, falling back to default profiles: default
2025-05-21 09:56:14.839  INFO 1085666 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-05-21 09:56:15.070  INFO 1085666 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 215ms. Found 10 JPA repository interfaces.
2025-05-21 09:56:15.635  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#49dc7102' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.637  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#49dc7102' of type [java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.638  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#2e222612' of type [org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.642  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#55536d9e' of type [org.springframework.data.repository.core.support.RepositoryFragmentsFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.643  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#55536d9e' of type [org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.649  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.679  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.708  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.718  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.723  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa-org.springframework.boot.autoconfigure.orm.jpa.JpaProperties' of type [org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.727  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.hibernate-org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties' of type [org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.730  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.731  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'hikariPoolDataSourceMetadataProvider' of type [org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration$$Lambda$367/13803304] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.738  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration' of type [org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.786  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.793  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:15.857  INFO 1085666 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-05-21 09:56:15.942  INFO 1085666 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.4.21.Final
2025-05-21 09:56:16.170  INFO 1085666 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2025-05-21 09:56:16.463  INFO 1085666 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2025-05-21 09:56:16.771  INFO 1085666 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2025-05-21 09:56:16.819  INFO 1085666 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2025-05-21 09:56:18.070  INFO 1085666 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2025-05-21 09:56:18.084  INFO 1085666 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-05-21 09:56:18.087  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:18.088  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [com.sun.proxy.$Proxy98] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:18.101  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1eb5174b' of type [com.sun.proxy.$Proxy99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:18.143  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:18.144  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.651  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroSessionRepository' of type [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.653  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroSessionRepository' of type [com.sun.proxy.$Proxy102] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.659  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'DBSessionDao' of type [cn.wildfirechat.app.shiro.DBSessionDao] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.758  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6179e425' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.759  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6179e425' of type [java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.759  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3d2ee678' of type [org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.760  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#49c6c24f' of type [org.springframework.data.repository.core.support.RepositoryFragmentsFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.760  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#49c6c24f' of type [org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:19.761  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1c32386d' of type [com.sun.proxy.$Proxy99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.101  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'PCSessionRepository' of type [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.101  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'PCSessionRepository' of type [com.sun.proxy.$Proxy107] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.105  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5669c5fb' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.105  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5669c5fb' of type [java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.106  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#56113384' of type [org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.107  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#189aa67a' of type [org.springframework.data.repository.core.support.RepositoryFragmentsFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.107  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#189aa67a' of type [org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.108  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#112f364d' of type [com.sun.proxy.$Proxy99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.129  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'recordRepository' of type [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.130  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'recordRepository' of type [com.sun.proxy.$Proxy108] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.130  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'authDataSource' of type [cn.wildfirechat.app.shiro.AuthDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.131  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'phoneCodeRealm' of type [cn.wildfirechat.app.shiro.PhoneCodeRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.137  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'tokenMatcher' of type [cn.wildfirechat.app.shiro.TokenMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.138  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'scanCodeRealm' of type [cn.wildfirechat.app.shiro.ScanCodeRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.146  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#41dd05a' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.146  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#41dd05a' of type [java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.147  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#67c2e933' of type [org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.147  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1b765a2c' of type [org.springframework.data.repository.core.support.RepositoryFragmentsFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.147  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1b765a2c' of type [org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.148  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#18920cc' of type [com.sun.proxy.$Proxy99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.160  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'userPasswordRepository' of type [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.161  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'userPasswordRepository' of type [com.sun.proxy.$Proxy109] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.167  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'userPasswordRealm' of type [cn.wildfirechat.app.shiro.UserPasswordRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.169  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [cn.wildfirechat.app.shiro.ShiroConfig$$EnhancerBySpringCGLIB$$1db95e00] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:20.533  INFO 1085666 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-05-21 09:56:21.123  INFO 1085666 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8888 (http)
2025-05-21 09:56:21.135  INFO 1085666 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2025-05-21 09:56:21.135  INFO 1085666 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.38]
2025-05-21 09:56:21.342  INFO 1085666 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2025-05-21 09:56:21.342  INFO 1085666 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 7558 ms
2025-05-21 09:56:22.514  WARN 1085666 --- [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2025-05-21 09:56:22.754  INFO 1085666 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2025-05-21 09:56:53.271  INFO 1085666 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'taskScheduler'
2025-05-21 09:56:59.876  INFO 1085666 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2025-05-21 09:56:59.937  INFO 1085666 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2025-05-21 09:56:59.942 ERROR 1085666 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Web server failed to start. Port 8888 was already in use.

Action:

Identify and stop the process that's listening on port 8888 or configure this application to listen on another port.

2025-05-21 09:56:59.948  INFO 1085666 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService 'taskScheduler'
2025-05-21 09:56:59.951  INFO 1085666 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'
2025-05-21 09:56:59.969  INFO 1085666 --- [           main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2025-05-21 09:56:59.972  INFO 1085666 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2025-05-21 09:57:00.045  INFO 1085666 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2025-05-21 09:57:00.090 ERROR 1085666 --- [   scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task

org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'entityManagerFactory': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) ~[spring-beans-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:624) ~[spring-beans-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:378) ~[spring-beans-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:168) ~[spring-tx-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:151) ~[spring-tx-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:149) ~[spring-data-jpa-2.2.10.RELEASE.jar!/:2.2.10.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95) ~[spring-aop-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at com.sun.proxy.$Proxy107.deleteByCreateDtBefore(Unknown Source) ~[na:na]
        at cn.wildfirechat.app.Application.clearPCSession(Application.java:44) ~[classes!/:0.69]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_351]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_351]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_351]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_351]
        at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_351]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_351]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_351]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_351]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_351]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_351]
        at java.lang.Thread.run(Thread.java:750) [na:1.8.0_351]
最新回复 (2)
  • x86 9天前
    引用 2
    Web server failed to start. Port 8888 was already in use.

    端口被占用了
  • lisa 8天前
    引用 3
    哇,改了端口就合适了,谢谢大佬的回复O(∩_∩)O
返回