1、项目结构
2、修改端口号
application.properties
server.port=8081
3、自定义banner
resources目录下新建banner.txt
// _ooOoo_ //
// o8888888o //
// 88" . "88 //
// (| ^_^ |) //
// O\ = /O //
// ____/`---'\____ //
// .' \\| |// `. //
// / \\||| : |||// \ //
// / _||||| -:- |||||- \ //
// | | \\\ - /// | | //
// | \_| ''\---/'' | | //
// \ .-\__ `-` ___/-. / //
// ___`. .' /--.--\ `. . ___ //
// ."" '< `.___\_<|>_/___.' >'"". //
// | | : `- \`.;`\ _ /`;.`/ - ` : | | //
// \ \ `-. \_ __\ /__ _/ .-` / / //
// ========`-.____`-.___\_____/___.-`____.-'======== //
// `=---=' //
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
// 佛祖保佑 永不宕机 永无BUG //
启动项目
// _ooOoo_ //
// o8888888o //
// 88" . "88 //
// (| ^_^ |) //
// O\ = /O //
// ____/`---'\____ //
// .' \\| |// `. //
// / \\||| : |||// \ //
// / _||||| -:- |||||- \ //
// | | \\\ - /// | | //
// | \_| ''\---/'' | | //
// \ .-\__ `-` ___/-. / //
// ___`. .' /--.--\ `. . ___ //
// ."" '< `.___\_<|>_/___.' >'"". //
// | | : `- \`.;`\ _ /`;.`/ - ` : | | //
// \ \ `-. \_ __\ /__ _/ .-` / / //
// ========`-.____`-.___\_____/___.-`____.-'======== //
// `=---=' //
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
// 佛祖保佑 永不宕机 永无BUG //
2020-12-12 19:39:07.297 INFO 3044 --- [ main] c.k.Springboot01HelloworldApplication : Starting Springboot01HelloworldApplication using Java 1.8.0_121 on DESKTOP-O3EA7R0 with PID 3044 (E:\code\Java\springboot\springboot-01-helloworld\target\classes started by Administrator in E:\code\Java\springboot\springboot-01-helloworld)
2020-12-12 19:39:07.312 INFO 3044 --- [ main] c.k.Springboot01HelloworldApplication : No active profile set, falling back to default profiles: default
2020-12-12 19:39:07.984 INFO 3044 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http)
2020-12-12 19:39:08.000 INFO 3044 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2020-12-12 19:39:08.000 INFO 3044 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.39]
2020-12-12 19:39:08.046 INFO 3044 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2020-12-12 19:39:08.046 INFO 3044 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 687 ms
2020-12-12 19:39:08.140 INFO 3044 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2020-12-12 19:39:08.249 INFO 3044 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8081 (http) with context path ''
2020-12-12 19:39:08.265 INFO 3044 --- [ main] c.k.Springboot01HelloworldApplication : Started Springboot01HelloworldApplication in 1.244 seconds (JVM running for 2.078)