Bug求救!!!

热爱旅行的小李同学 2020-05-14 10:44:34


第二次遇到这个报错,上次报错不知道搞了一下怎么就不报错了,这次又来,明明加载了这个依赖还是找不到。
向各位大佬求救!

报错信息如下
2020-05-14 22:32:48.612 INFO 13148 --- [ main] com.atguigu.oss.OssApplication : Starting OssApplication on SKY-20200501XVH with PID 13148 (G:\workspaces\idea\guli_parent\service\service_oss\target\classes started by Administrator in G:\workspaces\idea\guli_parent)
2020-05-14 22:32:48.617 INFO 13148 --- [ main] com.atguigu.oss.OssApplication : The following profiles are active: dev
2020-05-14 22:32:48.788 WARN 13148 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
2020-05-14 22:32:49.034 ERROR 13148 --- [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [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 com.atguigu.oss.OssApplication.main(OssApplication.java:13) [classes/:na]
Caused by: org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:203) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:179) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]
... 8 common frames omitted
...全文
116 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
发现错误了,启动类的run方法传错类了,犯低级错误了!
luckyZQC 2020-05-15
  • 打赏
  • 举报
回复
启动类有问题吧
作为全世界 IT 教育工作者的第一选择,NetSupport School 提供必要的工具,帮助您最大限度地提高计算机引导教学的效率,现在,您可以在 Google Chromebook 环境中利用 NetSupport School 的强大功能。… 作为全世界 IT 教育工作者的第一选择,NetSupport School 提供必要的工具,帮助您最大限度地提高计算机引导教学的效率,现在,您可以在 Google Chromebook 环境中利用 NetSupport School 的强大功能。 为了能在现有的 NetSupport 管理的教室中使用,可将 NetSupport School Student 应用程序安装在每个运行 Google Chrome 操作系统的学生机上。然后,可从教师的台式机上连接到每个系统,实现快速高效的监控以及与每个学生交互。 主要功能: 显示教师的屏幕。通过向选定的学生屏幕“放映”教师的桌面,确保在演示时引起学生注意和重视。 向选定的学生显示应用程序 在单个视图中清楚地查看每个学生机的缩略图 向每个学生发送即时调查或请求反馈,并实时显示结果 多显示器支持。如果教师使用多台显示器,可以选择对学生显示个别屏幕或显示所有屏幕 在浏览器标签页中或在全屏模式下对学生进行显示 显示教师的屏幕。通过向选定的学生屏幕“放映”教师的桌面,确保在演示时引起学生注意和重视。 打开一个允许所有学生或选定学生加入的讨论会话,让学生输入他们的意见并与班内其他成员共享。 向选定的学生显示应用程序 向每个学生机发送引起注意的消息或指示 阻止未经授权的网站 只使用经过许可的网站 阻止所有互联网访问 请求帮助工具 - 学生可以发送求救请求的导师。 在学生 Chromebook 上打开一个网站 关闭学生 Chromebook 上的网站 阻止 FTP 访问 查看学生当前正在查看的网站的详细信息 要求学生在每节课开始时注册 有 3 种按教室对学生进行分组的模式,实现对移动学生的管理。 Chrome 隐身模式: 为确保您对学生的互联网使用情况了如指掌,建议您通过 Google Apps for Education“禁用”Chrome 操作系统用户设置中的隐身模式。 安装和前提条件: 为了让教师能够监控正在使用 Google Chromebook 的学生并与之交互,必须在一个 Windows 服务器上安装 NetSupport Name & Connectivity Server;必须在教师的 Windows 计算机上安装 NetSupport School Tutor,以及在每个学生的 Chromebook 上安装 NetSupport School Student 扩展程序。 可以借助您已经购买的现有 NetSupport School 许可证(只要您有足够的未用许可证)来使用 Chrome 操作系统专用 NetSupport School Student,也可从您的 NetSupport 经销商那里低价购买额外的仅限 Chrome 的学生许可证 请访问 www.netsupportschool.com/chrome 获得更多信息,以及用来管理教室中 Chrome 操作系统学生的简单分步式指南。 ------------------------------------------------------ 版本 1.60.1.1 中的新增功能: Bug 修复和性能改进。 支持语言:Bahasa Melayu,Deutsch,English,Français,Nederlands,Norsk,Türkçe,español,italiano,lietuvių,magyar,polski,português (Brasil),português (Portugal),suomi,svenska,čeština,български,русский,‫العربية,中文 (简体),中文 (繁體),日本語,한국어

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧