springboot学习翻车一览

1 篇文章 0 订阅
1 篇文章 0 订阅

一. Tomcat Error:An incompatible version [1.2.12] of the Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

原因:不兼容
解决:添加或者替换C盘-windows-system32-tcnative-1.dll文件,下载地址http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.14/binaries/
解压后在x64文件夹内
在这里插入图片描述

二. Tomcat启动浏览器:This application has no explicit mapping for /error, so you are seeing this as a fallback.

原因:跳转页面的url无对应的值
解决:在启动类中添加注释指定扫描的包
在这里插入图片描述

三. 改变启动时显示的字符

  1. 到项目下的 resources 目录下新建一个banner.txt
  2. 从https://www.bootschool.net/ascii生成内容
  3. 拷贝到banner.txt下
    在这里插入图片描述
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值