LIU-LIU-LIU 环境:10.1.38-MariaDB-0+deb9u1 - Debian 9.8 输出如下: java -server -Xms256m -Xmx256m -jar /opt/halo/halo-1.2.0.jar LOGBACK: No context given for c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@2054798982 __ __ __ / / / /___ _/ /___ / /_/ / __ `/ / __ \ / __ / /_/ / / /_/ / /_/ /_/\__,_/_/\____/ ::: Spring-Boot 2.2.1.RELEASE ::: Halo (version: (v1.2.0)) 2020-01-07 15:51:04.718 INFO 25875 --- [ main] run.halo.app.Application : Starting Application v1.2.0 on MyServer with PID 25875 (/opt/halo/halo-1.2.0.jar started by root in /opt/halo) 2020-01-07 15:51:04.726 INFO 25875 --- [ main] run.halo.app.Application : No active profile set, falling back to default profiles: default 2020-01-07 15:51:07.044 INFO 25875 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 2020-01-07 15:51:07.337 INFO 25875 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 274ms. Found 21 repository interfaces. 2020-01-07 15:51:08.960 INFO 25875 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2020-01-07 15:51:10.012 WARN 25875 --- [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2020-01-07 15:51:10.079 INFO 25875 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2020-01-07 15:51:10.081 INFO 25875 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 5211 ms 2020-01-07 15:51:10.606 INFO 25875 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2020-01-07 15:51:10.777 INFO 25875 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.8.Final} 2020-01-07 15:51:11.161 INFO 25875 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2020-01-07 15:51:11.386 INFO 25875 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2020-01-07 15:51:11.666 INFO 25875 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2020-01-07 15:51:11.720 INFO 25875 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL55Dialect 2020-01-07 15:51:14.279 INFO 25875 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-01-07 15:51:14.293 INFO 25875 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-01-07 15:51:21.408 INFO 25875 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 4 endpoint(s) beneath base path '/api/admin/actuator' 2020-01-07 15:51:21.610 INFO 25875 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] 2020-01-07 15:51:22.314 INFO 25875 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' 2020-01-07 15:51:22.409 INFO 25875 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed 2020-01-07 15:51:22.483 INFO 25875 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 2 custom documentation plugin(s) 2020-01-07 15:51:22.484 INFO 25875 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Skipping initializing disabled plugin bean swagger v2.0 2020-01-07 15:51:22.484 INFO 25875 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Skipping initializing disabled plugin bean swagger v2.0 2020-01-07 15:51:22.531 INFO 25875 --- [ main] io.undertow : starting server: Undertow - 2.0.27.Final 2020-01-07 15:51:22.552 INFO 25875 --- [ main] org.xnio : XNIO version 3.3.8.Final 2020-01-07 15:51:22.578 INFO 25875 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final 2020-01-07 15:51:22.750 INFO 25875 --- [ main] o.s.b.w.e.u.UndertowServletWebServer : Undertow started on port(s) 8090 (http) with context path '' 2020-01-07 15:51:22.753 INFO 25875 --- [ main] run.halo.app.Application : Started Application in 19.317 seconds (JVM running for 20.518) 2020-01-07 15:51:22.754 INFO 25875 --- [ main] run.halo.app.listener.StartedListener : Starting migrate database... 2020-01-07 15:51:22.784 INFO 25875 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 6.1.0 by Redgate 2020-01-07 15:51:22.851 INFO 25875 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:mysql://192.168.0.108:3306/halodb (MySQL 5.5) 2020-01-07 15:51:22.929 INFO 25875 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-01-07 15:51:22.969 ERROR 25875 --- [ main] o.s.boot.SpringApplication : Application run failed org.flywaydb.core.internal.license.FlywayEditionUpgradeRequiredException: Flyway Pro Edition or MariaDB upgrade required: MariaDB 10.1 is no longer supported by Flyway Community Edition, but still supported by Flyway Pro Edition. at org.flywaydb.core.internal.database.base.Database.ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition(Database.java:169) ~[flyway-core-6.1.0.jar!/:na] at org.flywaydb.core.internal.database.mysql.MySQLDatabase.ensureSupported(MySQLDatabase.java:278) ~[flyway-core-6.1.0.jar!/:na] at org.flywaydb.core.Flyway.execute(Flyway.java:495) ~[flyway-core-6.1.0.jar!/:na] at org.flywaydb.core.Flyway.migrate(Flyway.java:147) ~[flyway-core-6.1.0.jar!/:na] at run.halo.app.listener.StartedListener.migrate(StartedListener.java:86) ~[classes!/:1.2.0] at run.halo.app.listener.StartedListener.onApplicationEvent(StartedListener.java:58) ~[classes!/:1.2.0] at run.halo.app.listener.StartedListener.onApplicationEvent(StartedListener.java:33) ~[classes!/:1.2.0] at run.halo.app.listener.StartedListener$$EnhancerBySpringCGLIB$$b63c875a.onApplicationEvent(<generated>) ~[classes!/:1.2.0] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.2.1.RELEASE.jar!/:5.2.1.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.2.1.RELEASE.jar!/:5.2.1.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.2.1.RELEASE.jar!/:5.2.1.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:403) ~[spring-context-5.2.1.RELEASE.jar!/:5.2.1.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360) ~[spring-context-5.2.1.RELEASE.jar!/:5.2.1.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:98) ~[spring-boot-2.2.1.RELEASE.jar!/:2.2.1.RELEASE] at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:71) ~[spring-boot-2.2.1.RELEASE.jar!/:2.2.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) [spring-boot-2.2.1.RELEASE.jar!/:2.2.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.2.1.RELEASE.jar!/:2.2.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.2.1.RELEASE.jar!/:2.2.1.RELEASE] at run.halo.app.Application.main(Application.java:35) [classes!/:1.2.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [halo-1.2.0.jar:1.2.0] at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [halo-1.2.0.jar:1.2.0] at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [halo-1.2.0.jar:1.2.0] at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [halo-1.2.0.jar:1.2.0] 2020-01-07 15:51:22.982 INFO 25875 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' 2020-01-07 15:51:23.011 INFO 25875 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2020-01-07 15:51:23.014 INFO 25875 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2020-01-07 15:51:23.084 INFO 25875 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2020-01-07 15:51:23.089 INFO 25875 --- [ main] io.undertow : stopping server: Undertow - 2.0.27.Final