主题 : 跑不起来了 求大佬们帮忙看一下
级别: 童生
UID: 135536
积分:16 加为好友
威望: 2 精华: 0
主题:3 回复:9
注册时间:2020-08-10
在线时长:0
1#   发表于:2020-08-11 11:20:42  IP:116.199.*.*
跑不起来了 求大佬们帮忙看一下
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 
2020-08-11 10:49:42.777 [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:157)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
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:65)
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:206)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:154)
... 7 common frames omitted
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
2#   发表于:2020-08-11 11:21:44  IP:117.152.*.*
您部署的时候有看过我们的部署教程吗?
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 135536
积分:16 加为好友
威望: 2 精华: 0
主题:3 回复:9
注册时间:2020-08-10
在线时长:0
3#   发表于:2020-08-12 16:38:01  IP:116.200.*.*
回复第2楼 就是按照文档导入的idea 但是感觉放出来的这个版本代码有点问题呀,一些maven包都找不到,没办法了自己修改的版本,还有有的Controller类名重复了,我也不知道放出代码的时候不知道自己编译一下看看吗,感觉像把一个测试demo放出来了,你让人运行的运行不了,还怎么指望人家花钱买,现在又报这个错了,难道还要我自己分析一下里面哪里写的对不对呀,那么多注解和类 我怎么分析,真垃圾
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 
2020-08-12 16:08:10.404 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter - 

***************************
APPLICATION FAILED TO START
***************************

Description:

Field request in com.jeecms.front.controller.backup.BackupController required a bean of type 'javax.servlet.http.HttpServletRequest' that could not be found.

The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)


Action:

Consider defining a bean of type 'javax.servlet.http.HttpServletRequest' in your configuration.
 

Process finished with exit code 1
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
4#   发表于:2020-08-12 16:56:27  IP:117.92.*.*
您目前jar包有报错吗?
每天告诉自己一次,“我真的很不错”。
1 共1页