zoukankan      html  css  js  c++  java
  • SpringBoot(5) SpringBoot个性化启动

    1、在类路径下增加一个banner.txt,里面是启动要输出的信息

    自定义banner在线生成工具: http://www.bootschool.net/ascii

              _           _                                _                
      _ __   | |   __ _  | |_   _   _    ___    ___     __| |   ___   _ __  
     | '_   | |  / _` | | __| | | | |  / __|  / _    / _` |  / _  | '_  
     | |_) | | | | (_| | | |_  | |_| | | (__  | (_) | | (_| | |  __/ | | | |
     | .__/  |_|  \__,_|  \__|  \__, |  \___|  \___/   \__,_|  \___| |_| |_|
     |_|                        |___/                                       

    2、在applicatoin.properties增加banner文件的路径地址

    #自定义启动banner文件的路径
    spring.banner.location=banner.txt

  • 相关阅读:
    腾讯安全上海游戏部门笔试题
    2017
    2016
    2015
    2014
    2013
    2012
    2011
    2010
    2009
  • 原文地址:https://www.cnblogs.com/platycoden/p/9792623.html
Copyright © 2011-2022 走看看