如题,运行报错
[halo@iZ2zefub3fjvptq6jcvh1pZ app]$ cd ~/app && java -jar halo.jar
__ __ __
/ / / /___ _/ /___
/ /_/ / __ `/ / __ \
/ __ / /_/ / / /_/ /
/_/ /_/\__,_/_/\____/
Version: 1.4.8
2021-04-21 18:55:28.241 INFO 3029 --- [ main] run.halo.app.Application : Starting Application v1.4.8 using Java 11.0.9.1 on iZ2zefub3fjvptq6jcvh1pZ with PID 3029 (/home/halo/app/halo.jar started by halo in /home/halo/app)
2021-04-21 18:55:28.246 INFO 3029 --- [ main] run.halo.app.Application : No active profile set, falling back to default profiles: default
2021-04-21 18:55:32.053 INFO 3029 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-04-21 18:55:32.632 INFO 3029 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 501 ms. Found 22 JPA repository interfaces.
2021-04-21 18:55:36.039 INFO 3029 --- [ main] org.eclipse.jetty.util.log : Logging initialized @11653ms to org.eclipse.jetty.util.log.Slf4jLog
2021-04-21 18:55:36.654 INFO 3029 --- [ main] o.s.b.w.e.j.JettyServletWebServerFactory : Server initialized with port: 80
2021-04-21 18:55:36.668 INFO 3029 --- [ main] org.eclipse.jetty.server.Server : jetty-9.4.38.v20210224; built: 2021-02-24T20:25:07.675Z; git: 288f3cc74549e8a913bf363250b0744f2695b8e6; jvm 11.0.9.1+1-LTS
2021-04-21 18:55:36.836 INFO 3029 --- [ main] o.e.j.s.h.ContextHandler.application : Initializing Spring embedded WebApplicationContext
2021-04-21 18:55:36.836 INFO 3029 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 8376 ms
2021-04-21 18:55:40.521 INFO 3029 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-04-21 18:55:40.803 INFO 3029 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.29.Final
2021-04-21 18:55:41.017 INFO 3029 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-04-21 18:55:41.539 INFO 3029 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-04-21 18:55:42.326 INFO 3029 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-04-21 18:55:42.451 INFO 3029 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2021-04-21 18:55:46.666 INFO 3029 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-04-21 18:55:46.709 INFO 3029 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-04-21 18:55:47.987 INFO 3029 --- [ main] run.halo.app.config.HaloConfiguration : Halo cache store load impl : [class run.halo.app.cache.InMemoryCacheStore]
2021-04-21 18:55:50.091 INFO 3029 --- [ main] org.eclipse.jetty.server.session : DefaultSessionIdManager workerName=node0
2021-04-21 18:55:50.092 INFO 3029 --- [ main] org.eclipse.jetty.server.session : No SessionScavenger set, using defaults
2021-04-21 18:55:50.107 INFO 3029 --- [ main] org.eclipse.jetty.server.session : node0 Scavenging every 600000ms
2021-04-21 18:55:50.140 INFO 3029 --- [ main] o.e.jetty.server.handler.ContextHandler : Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@505d2bac{application,/,[file:///tmp/jetty-docbase.80.8407087018069992309/, jar:file:/home/halo/app/halo.jar!/BOOT-INF/lib/springfox-swagger-ui-3.0.0.jar!/META-INF/resources],AVAILABLE}
2021-04-21 18:55:50.141 INFO 3029 --- [ main] org.eclipse.jetty.server.Server : Started @25756ms
2021-04-21 18:55:51.246 INFO 3029 --- [ main] run.halo.app.handler.file.FileHandlers : Registered 9 file handler(s)
2021-04-21 18:55:59.821 INFO 3029 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-04-21 18:56:01.979 INFO 3029 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler'
2021-04-21 18:56:02.051 INFO 3029 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 4 endpoint(s) beneath base path '/api/admin/actuator'
2021-04-21 18:56:02.256 INFO 3029 --- [ main] o.e.j.s.h.ContextHandler.application : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-04-21 18:56:02.256 INFO 3029 --- [ main] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2021-04-21 18:56:02.258 INFO 3029 --- [ main] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2021-04-21 18:56:02.273 INFO 3029 --- [ main] o.e.jetty.server.AbstractConnector : Stopped ServerConnector@3f3ddbd9{HTTP/1.1, (http/1.1)}{0.0.0.0:80}
2021-04-21 18:56:02.273 INFO 3029 --- [ main] org.eclipse.jetty.server.session : node0 Stopped scavenging
2021-04-21 18:56:02.276 INFO 3029 --- [ main] o.e.j.s.h.ContextHandler.application : Destroying Spring FrameworkServlet 'dispatcherServlet'
2021-04-21 18:56:02.277 INFO 3029 --- [ main] o.e.jetty.server.handler.ContextHandler : Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@505d2bac{application,/,[file:///tmp/jetty-docbase.80.8407087018069992309/, jar:file:/home/halo/app/halo.jar!/BOOT-INF/lib/springfox-swagger-ui-3.0.0.jar!/META-INF/resources],STOPPED}
2021-04-21 18:56:02.305 WARN 3029 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty server
2021-04-21 18:56:02.306 INFO 3029 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler'
2021-04-21 18:56:02.307 INFO 3029 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-04-21 18:56:02.329 INFO 3029 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-04-21 18:56:02.332 INFO 3029 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-04-21 18:56:02.366 INFO 3029 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2021-04-21 18:56:02.422 INFO 3029 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-04-21 18:56:02.487 ERROR 3029 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty server
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181) ~[spring-context-5.3.5.jar!/:5.3.5]
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54) ~[spring-context-5.3.5.jar!/:5.3.5]
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356) ~[spring-context-5.3.5.jar!/:5.3.5]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na]
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155) ~[spring-context-5.3.5.jar!/:5.3.5]
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123) ~[spring-context-5.3.5.jar!/:5.3.5]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935) ~[spring-context-5.3.5.jar!/:5.3.5]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) ~[spring-context-5.3.5.jar!/:5.3.5]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:430) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:328) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1325) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1314) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at run.halo.app.Application.main(Application.java:21) ~[classes!/:1.4.8]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[halo.jar:1.4.8]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) ~[halo.jar:1.4.8]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[halo.jar:1.4.8]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[halo.jar:1.4.8]
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty server
at org.springframework.boot.web.embedded.jetty.JettyWebServer.start(JettyWebServer.java:181) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:43) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) ~[spring-context-5.3.5.jar!/:5.3.5]
... 22 common frames omitted
Caused by: java.io.IOException: Failed to bind to /0.0.0.0:80
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[jetty-server-9.4.38.v20210224.jar!/:9.4.38.v20210224]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[jetty-server-9.4.38.v20210224.jar!/:9.4.38.v20210224]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.38.v20210224.jar!/:9.4.38.v20210224]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[jetty-server-9.4.38.v20210224.jar!/:9.4.38.v20210224]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.38.v20210224.jar!/:9.4.38.v20210224]
at org.springframework.boot.web.embedded.jetty.JettyWebServer.start(JettyWebServer.java:161) ~[spring-boot-2.5.0-M3.jar!/:2.5.0-M3]
... 24 common frames omitted
Caused by: java.net.SocketException: Permission denied
at java.base/sun.nio.ch.Net.bind0(Native Method) ~[na:na]
at java.base/sun.nio.ch.Net.bind(Net.java:455) ~[na:na]
at java.base/sun.nio.ch.Net.bind(Net.java:447) ~[na:na]
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[na:na]
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[na:na]
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[jetty-server-9.4.38.v20210224.jar!/:9.4.38.v20210224]
... 29 common frames omitted