首页 文章

Spring框架ERROR 10904 [关闭]

提问于
浏览
-2

我试图使用Spring框架构建一个应用程序,但我得到了以下错误,我不知道为什么 . 每当我尝试运行应用程序时,我都会收到波纹管错误 . 由于空间原因,我确实在C盘中设置了我的Maven,在D盘中设置了我的应用程序 . 这可能是个问题吗?

导致错误的原因是什么?我应该怎么做?

ERROR 10904 --- [main] o.a.coyote.http11.Http11NioProtocol:无法启动与ProtocolHandler关联的终点["http-nio-8080"]

ERROR 10904 --- [main] o.apache.catalina.core.StandardService:无法启动连接器[Connector [HTTP / 1.1-8080]]

ERROR 10904 --- [main] o.s.boot.SpringApplication:应用程序启动失败

INFO 10904 --- [main] .blClasspathLoggingApplicationListener:应用程序无法以类路径启动:[file:/ D:/ GITHUB / webappaws / target / classes /,file:/ C:/Users/codeLearner/.m2/repository/org /springframework/boot/spring-boot-starter-thymeleaf/1.3.6.RELEASE/spring-boot-starter-thymeleaf-1.3.6.RELEASE.jar,file:/ C:/Users/codeLearner/.m2/repository/ org / springframework / boot / spring-boot-starter / 1.3.6.RELEASE / spring-boot-starter-1.3.6.RELEASE.jar,file:/ C:/Users/codeLearner/.m2/repository/org/springframework /boot/spring-boot/1.3.6.RELEASE/spring-boot-1.3.6.RELEASE.jar,file:/ C:/Users/codeLearner/.m2/repository/org/springframework/boot/spring-boot- autoconfigure / 1.3.6.RELEASE / spring-boot-autoconfigure-1.3.6.RELEASE.jar,file:/ C:/Users/codeLearner/.m2/repository/org/springframework/boot/spring-boot-starter-logging /1.3.6.RELEASE/spring-boot-starter-logging-1.3.6.RELEASE.jar,file:/ C:/Users/codeLearner/.m2/repository/ch/qos/logback/logback-classic/1.1 . 7 / logback-classic-1.1.7.jar,文件:/ C: /Users/codeLearner/.m2/repository/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar,..

1 回答

  • 0

    Solved

    我在启动应用程序时所做的不是重新启动它,而是运行它,这就是造成问题的原因(我认为)

    当我打开localhost:8080时,它会显示它应该显示的内容 .

    我正在学习,这确实算是愚蠢的错误,我学习了每一个新的反馈......不知道为什么我被拒绝了...

    谢谢卢克和吉姆!

相关问题