主题 : 1.7开源版本启动报错,能看下为什么
级别: 童生
UID: 136994
积分:25 加为好友
威望: 0 精华: 0
主题:2 回复:14
注册时间:2021-01-05
在线时长:0
1#   发表于:2021-01-07 14:21:41  IP:222.64.*.*
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:155)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137)
at com.jeecms.front.CmsFrontApplication.main(CmsFrontApplication.java:62)
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:204)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:178)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152)
... 7 common frames omitted
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
2#   发表于:2021-01-07 14:30:11  IP:59.211.*.*
回复第1楼您是root包部署吗?
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
级别: 童生
UID: 136994
积分:25 加为好友
威望: 0 精华: 0
主题:2 回复:14
注册时间:2021-01-05
在线时长:0
3#   发表于:2021-01-07 14:33:42  IP:222.64.*.*
就是clean install不报错,就是idea一启动项目就报错了。这是为啥
级别: 童生
UID: 136994
积分:25 加为好友
威望: 0 精华: 0
主题:2 回复:14
注册时间:2021-01-05
在线时长:0
4#   发表于:2021-01-07 14:34:50  IP:222.64.*.*
配置什么的都改了
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
5#   发表于:2021-01-07 14:37:16  IP:59.211.*.*
回复第4楼Spring Boot启动出现错误,错误内容大概的意思是:未能加载嵌入的供web应用加载的空间,是因为缺少ServletWebServerFactory bean,在stackflow上面看到了这个错误的解决办法  https://www.cnblogs.com/appium/p/11213181.html
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
级别: 童生
UID: 136994
积分:25 加为好友
威望: 0 精华: 0
主题:2 回复:14
注册时间:2021-01-05
在线时长:0
6#   发表于:2021-01-07 14:43:10  IP:222.64.*.*
回复第5楼这个注解一直存在于启动类上没有更改
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
7#   发表于:2021-01-07 14:51:53  IP:59.211.*.*
回复第6楼您这个日志不全,发个完整的
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
级别: 童生
UID: 136994
积分:25 加为好友
威望: 0 精华: 0
主题:2 回复:14
注册时间:2021-01-05
在线时长:0
8#   发表于:2021-01-07 14:56:02  IP:222.64.*.*
=============================================================================================
JEECMS是一个基于Java编程语言的内容管理快速研发平台,由江西金磊科技发展有限公司(http://www.jeecms.com)研发。
=============================================================================================
2021-01-07 14:55:17.046 [main] INFO  com.jeecms.front.CmsFrontApplication - Starting CmsFrontApplication on sunsipeng with PID 8924 (D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes started by asus in D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front) 
2021-01-07 14:55:17.049 [main] INFO  com.jeecms.front.CmsFrontApplication - The following profiles are active: prod 
2021-01-07 14:55:17.145 [main] INFO  o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2e2ff723: startup date [Thu Jan 07 14:55:17 CST 2021]; root of context hierarchy 
2021-01-07 14:55:19.756 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml] 
2021-01-07 14:55:19.844 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context.xml] 
2021-01-07 14:55:19.868 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml] 
2021-01-07 14:55:19.883 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_pagination' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.PaginationDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.PaginationDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.885 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'text_cut' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.TextCutDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.TextCutDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.886 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.886 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.886 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.889 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.889 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.890 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.890 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_tag_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentTagDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentTagDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.890 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_hot_word_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.HotWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.HotWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_link_category_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.LinkCategoryDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.LinkCategoryDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_link_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.LinkDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.LinkDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_search_word_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.SearchWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.SearchWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_questionnaire_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.893 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_questionnaire_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.893 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_questionnaire' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.893 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context.xml] 
2021-01-07 14:55:20.539 [main] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 
2021-01-07 14:55:20.788 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'cacheConfiguration' of type [com.jeecms.common.configuration.CacheConfiguration$$EnhancerBySpringCGLIB$$e03ed49e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 
2021-01-07 14:55:21.014 [main] WARN  o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - 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. 
2021-01-07 14:55:21.019 [main] INFO  o.s.b.a.l.ConditionEvaluationReportLoggingListener - 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 
Disconnected from the target VM, address: '127.0.0.1:55928', transport: 'socket'
2021-01-07 14:55:21.029 [main] ERROR org.springframework.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:155)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137)
at com.jeecms.front.CmsFrontApplication.main(CmsFrontApplication.java:62)
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:204)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:178)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152)
... 7 common frames omitted

Process finished with exit code 1
级别: 童生
UID: 136994
积分:25 加为好友
威望: 0 精华: 0
主题:2 回复:14
注册时间:2021-01-05
在线时长:0
9#   发表于:2021-01-07 14:56:12  IP:222.64.*.*
=============================================================================================
JEECMS是一个基于Java编程语言的内容管理快速研发平台,由江西金磊科技发展有限公司(http://www.jeecms.com)研发。
=============================================================================================
2021-01-07 14:55:17.046 [main] INFO  com.jeecms.front.CmsFrontApplication - Starting CmsFrontApplication on sunsipeng with PID 8924 (D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes started by asus in D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front) 
2021-01-07 14:55:17.049 [main] INFO  com.jeecms.front.CmsFrontApplication - The following profiles are active: prod 
2021-01-07 14:55:17.145 [main] INFO  o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2e2ff723: startup date [Thu Jan 07 14:55:17 CST 2021]; root of context hierarchy 
2021-01-07 14:55:19.756 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml] 
2021-01-07 14:55:19.844 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context.xml] 
2021-01-07 14:55:19.868 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml] 
2021-01-07 14:55:19.883 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_pagination' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.PaginationDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.PaginationDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.885 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'text_cut' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.TextCutDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.TextCutDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.886 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.886 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.886 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.889 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.889 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.890 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.890 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_tag_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentTagDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentTagDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.890 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_hot_word_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.HotWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.HotWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_link_category_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.LinkCategoryDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.LinkCategoryDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_link_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.LinkDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.LinkDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_search_word_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.SearchWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.SearchWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.892 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_questionnaire_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.893 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_questionnaire_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.893 [main] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_questionnaire' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.QuestionnaireDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context-directive.xml]] 
2021-01-07 14:55:19.893 [main] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [D:\JEECMS\jeecmsMysql\jeecms-parent\jeecms-front\target\classes\config\context.xml] 
2021-01-07 14:55:20.539 [main] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 
2021-01-07 14:55:20.788 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'cacheConfiguration' of type [com.jeecms.common.configuration.CacheConfiguration$$EnhancerBySpringCGLIB$$e03ed49e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 
2021-01-07 14:55:21.014 [main] WARN  o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - 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. 
2021-01-07 14:55:21.019 [main] INFO  o.s.b.a.l.ConditionEvaluationReportLoggingListener - 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 
Disconnected from the target VM, address: '127.0.0.1:55928', transport: 'socket'
2021-01-07 14:55:21.029 [main] ERROR org.springframework.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:155)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137)
at com.jeecms.front.CmsFrontApplication.main(CmsFrontApplication.java:62)
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:204)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:178)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152)
... 7 common frames omitted

Process finished with exit code 1
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
10#   发表于:2021-01-07 15:03:11  IP:59.211.*.*
回复第9楼 您是什么版本的idea?
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
1 2 > >| 共2页