从git下载代码,eclipse导入BladeX项目,编译错误

Blade 未结 2 1375
gqy0914@sina.co
gqy0914@sina.co 2020-05-23 14:26

image.png

一、该问题的重现步骤是什么?

  1.   idea导入boot项目,启动报错如下

    image.png

3.


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?


四、请提供详细的错误堆栈信息,这很重要。


五、若有更多详细信息,请在下面提供。


2条回答
  •  gqy0914@sina.co
    2020-05-24 19:03

    Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

    2020-05-24 18:56:36.531 ERROR 19400 --- [           main] o.s.boot.SpringApplication               : Application run failed


    org.springframework.boot.web.server.WebServerException: Unable to start embedded Undertow

    at org.springframework.boot.web.embedded.undertow.UndertowServletWebServer.start(UndertowServletWebServer.java:157)

    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.startWebServer(ServletWebServerApplicationContext.java:297)

    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:163)

    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)

    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)

    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)

    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)

    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)

    at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49)

    at org.springblade.Application.main(Application.java:34)

    Caused by: java.lang.RuntimeException: java.net.SocketException: Permission denied

    at io.undertow.Undertow.start(Undertow.java:247)

    at org.springframework.boot.web.embedded.undertow.UndertowServletWebServer.start(UndertowServletWebServer.java:142)

    ... 10 common frames omitted

    Caused by: java.net.SocketException: Permission denied

    at sun.nio.ch.Net.bind0(Native Method)

    at sun.nio.ch.Net.bind(Net.java:433)

    at sun.nio.ch.Net.bind(Net.java:425)

    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

    at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)

    at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)

    at io.undertow.Undertow.start(Undertow.java:193)

    ... 11 common frames omitted

    这个是哪个错误。我启动的是boot项目

提交回复