2021年7月4日

spring boot访问不了本项目下的js文件

摘要: 访问不了js文件 http://localhost:8080/static/seckill.js application.properties文件或者application.yml配置文件增加 spring.mvc.static-path-pattern=/static/** 阅读全文

posted @ 2021-07-04 15:36 mylittlecabin 阅读(293) 评论(0) 推荐(0) 编辑

spring boot启动报错,no tcnative-1 in java.library.path, no libtcnative-1 in java.library.path

摘要: 根据日志中显示的tomcat版本,去官网下载tomcat,解压后将bin目录下tcnative-1.dll 放到 C:\Windows\System32 目录下即可; 本文springboot内嵌tomcat版本:9.0.46 阅读全文

posted @ 2021-07-04 14:09 mylittlecabin 阅读(2209) 评论(0) 推荐(0) 编辑

mybatis报错:Cause: java.io.FileNotFoundException: http://commons.apache.org/dtds/mbeans-descriptors.dtd

摘要: 解决: mybatis.mapper-locations=classpath*:**/mapper/*.xml修改为 mybatis.mapper-locations=classpath:**/mapper/*.xml参考:https://stackoverflow.com/questions/65 阅读全文

posted @ 2021-07-04 14:04 mylittlecabin 阅读(421) 评论(0) 推荐(0) 编辑

导航