今天从gitee上拉取了一个springboot项目,启动了一半发现一直卡着不动
. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.0.0.RELEASE)2020-10-19 15:37:23 INFO [main] com.xxx.xxx.ErpApplication - Starting ErpApplication on DESKTOP-QARM8NJ with PID 11428 (E:\xxx\xxx\)2020-10-19 15:37:23 DEBUG [main] com.xxx.xxx.ErpApplication - Running with Spring Boot v2.0.0.RELEASE, Spring v5.0.4.RELEASE2020-10-19 15:37:23 INFO [main] com.xxx.xxx.ErpApplication - No active profile set, falling back to default profiles: default _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.0.7.1 2020-10-19 15:37:27 INFO [main] com.xxx.xxx.ErpApplication - Started ErpApplication in 4.742 seconds (JVM running for 6.091)
接着在启动类的main方法中加入了这么一段代码
1 public static void main(String[] args) {2 System.out.println("---start---");3 SpringApplication.run(ErpApplication.class, args);4 System.out.println("---end---");5 }
输出如下
---start--- . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.0.0.RELEASE)2020-10-19 15:53:39 INFO [main] com.xxx.xxx.ErpApplication - Starting ErpApplication on DESKTOP-QARM8NJ with PID 183242020-10-19 15:53:39 DEBUG [main] com.xxx.xxx.ErpApplication - Running with Spring Boot v2.0.0.RELEASE, Spring v5.0.4.RELEASE2020-10-19 15:53:39 INFO [main] com.xxx.xxx.ErpApplication - No active profile set, falling back to default profiles: default _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.0.7.1 2020-10-19 15:53:43 INFO [main] com.xxx.xxx.ErpApplication - Started ErpApplication in 4.693 seconds (JVM running for 6.038)---end---
运行到这里说明程序是已经启动了的,接着我在去访问项目地址并成功的访问到了,这里就先不贴图了。
问题原因:应该是日志配置的问题,随后找到logback的
解决帮助来源于:https://blog.csdn.net/aero_duan/article/details/94595775
原文转载:http://www.shaoqun.com/a/481317.html
i号店:https://www.ikjzd.com/w/2263
亚马逊礼品卡:https://www.ikjzd.com/w/1090.html
好卖家:https://www.ikjzd.com/w/776
今天从gitee上拉取了一个springboot项目,启动了一半发现一直卡着不动._________/\\/___'_____(_)______\\\\(()\___|'_|'_||'_\/_`|\\\\\\/___)||_)|||||||(_||))))'|____|.__|_||_|_||_\__,|////=========|_|===========
三维度:https://www.ikjzd.com/w/1312
sgshop:https://www.ikjzd.com/w/1982
独行三亚该注意什么事项?:http://tour.shaoqun.com/a/4822.html
冬天去丽江自助游该注意的事项有哪些?:http://tour.shaoqun.com/a/4801.html
为什么中秋节要吃月饼?:http://tour.shaoqun.com/a/38204.html
No comments:
Post a Comment