主题 : idea 启动报错,仓库jar已经拉取
级别: 童生
UID: 131863
积分:35 加为好友
威望: 1 精华: 0
主题:4 回复:14
注册时间:2019-10-21
在线时长:0
1#   发表于:2019-10-23 09:02:51  IP:117.49.*.*
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 
2019-10-23 08:40:57.829 [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:64)
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#   发表于:2019-10-23 09:04:57  IP:59.51.*.*
您那边有ecplise吗?可以试下用这个部署看下吗?
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 131863
积分:35 加为好友
威望: 1 精华: 0
主题:4 回复:14
注册时间:2019-10-21
在线时长:0
3#   发表于:2019-10-23 10:04:27  IP:117.49.*.*
回复第2楼 

用了eclipse ,按文档配好后,启动不一样需要 配置 maven config

选中CmsFrontApplication而后敲击鼠标右键,选择Debug As->Java Application...运行 不行
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
4#   发表于:2019-10-23 10:09:34  IP:59.51.*.*
您给我下您的邮箱  我发个ecplise的部署教程给您
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 131863
积分:35 加为好友
威望: 1 精华: 0
主题:4 回复:14
注册时间:2019-10-21
在线时长:0
5#   发表于:2019-10-23 10:10:55  IP:117.49.*.*
回复第4楼    474312333@qq.com   谢谢!
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
6#   发表于:2019-10-23 10:15:12  IP:59.51.*.*
稍等
每天告诉自己一次,“我真的很不错”。
1 共1页