![](https://img-blog.csdnimg.cn/984f28db0fd8418c9e69fda0818da11a.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
SSM框架
文章平均质量分 64
记录spring+springMVC+Mybatis,SpringBoot框架遇到的问题、实践demo等
所遇所思
脚踏实地的走好每一步
展开
-
ruoyi-vue-v3.8.6-搭建
在package.json文件下 将"dev": " vue-cli-service serve"替换为"dev": “SET NODE_OPTIONS=–openssl-legacy-provider && vue-cli-service serve”可以结合下面三篇安装redis,也可以自定义相关的配置:http://www.taodudu.cc/news/show-568948.html?更换node版本,降低版本到12原创 2023-08-12 23:41:02 · 1967 阅读 · 0 评论 -
Swagger之Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang
1、环境win10、idea2020.1、JDK8、maven3.6、springboot2.6.2、swagger2.9.22、遇到问题Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException原因:springboot 版本过高,使swagger 异常,或者说是引入的swagger版本过高导致的问题,或者说是springboot2....原创 2022-03-09 17:38:20 · 8763 阅读 · 9 评论 -
SpringBoot项目打包之java compiled by a more recent version of the Java Runtime (class file version 61.0)
背景使用2023年最新版本的idea编译器、JDK1.8,可以正常启动项目SpringBoot项目,使用maven插件打包项目时报错。原创 2024-03-13 09:42:16 · 693 阅读 · 1 评论 -
SpringBoot之Invalid bound statement (not found): com.nxg.mapper.UserMapper.selectUserByPage
1、遇到的问题在写分页过程中遇到下面的报错Invalid bound statement (not found): com.nxg.quickstart.mapper.UserMapper.selectUserByPage2注:完整报错在附件中经过一番查找,发现了问题所在如下图原因:在yml文件中,配置mybatisplus时,写别名搜索和加载映射文件这两个前没加空格2、解决办法解决如下:加上空格即可总结一下,遇到这问题是对yml格式不够,这点需要注意即可。不.原创 2022-01-12 22:09:55 · 1044 阅读 · 1 评论 -
SpringBoot之Failed to load ApplicationContext
1.遇到的问题报以下错误java.lang.IllegalStateException: Failed to load ApplicationContext注:后面附带完整的控制台报错找到到问题:在配置yml时,少写了一个空格。如下图所示加上即可解决如下问题。Failed to bind properties under 'logging.level' to java.util.Map<java.lang.String, org.springframework.boo原创 2022-01-10 22:30:32 · 2941 阅读 · 0 评论 -
SpringBoot之Establishing SSL connection without server‘s identity verification is not recommended.
1、遇到如下问题Sun Jan 09 14:19:41 CST 2022 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit optio原创 2022-01-09 19:00:00 · 298 阅读 · 0 评论 -
SpringBoot之 Failed to load ApplicationContext
1、运行环境:操作系统:win10jdk版本:1.8idea版本:2020.1maven版本:3.3.9springBoot版本:2.0.02、遇到的问题java.lang.IllegalStateException: Failed to load ApplicationContext注:最后附带具体报错代码找到报错的原因:配置mybatis文件写错了3、解决办法:将mybaits配置更正一下即可。如下如不能解决,还有其他解决方法java.lang.IllegalStateE原创 2022-01-09 14:31:39 · 7452 阅读 · 0 评论 -
Maven之导入thymeleaf依赖飘红问题
1、运行环境操作系统:win10jdk版本:1.8idea版本:2020.1maven版本:3.3.9springBoot版本:2.0.02、遇到的问题在导入thymeleaf依赖时,刷新maven还是飘红,换版本同样是,我在maven仓库中找有spring-boot-starter-thymeleaf3、解决办法1.在本地仓库中删除该文件,重新下载到本地仓库。2.再换其他版本,我换成2.1.3 <dependency>原创 2022-01-09 21:45:00 · 2612 阅读 · 0 评论 -
解决时间戳问题
在Controller层中的请求返回值类型改为String。在spring-mvc.xml文件中加入一下配置。在Result类中,加JsonFormat注解。使用fastjson.jar 格式化代码,使用fastjson-1.2.66.jar。原创 2023-06-05 21:44:30 · 255 阅读 · 0 评论 -
ssm之Error creating bean with name ‘bookServiceImpl‘: Injection of resource dependencies failed;
ssm之Error creating bean with name 'bookServiceImpl': Injection of resource dependencies failed;原创 2022-08-08 20:20:00 · 2647 阅读 · 0 评论 -
ssm中的中Failed to load resource: the server responded with a status of 404 ()
**一、运行环境win11+idea2020.01+springmvc+tomcat7插件+maven3.8二、在ssm整合过程中遇到的下列问题:No mapping for GET /team/list.doFailed to load resource: the server responded with a status of 404 ()GET http://localhost:8080/team/list.do 404 (Not Found)SSM框架下 Failed to原创 2021-08-31 15:37:37 · 2724 阅读 · 0 评论 -
spring-事务式声明
在添加修改删除操作过程中,遇到异常时,如果没对操作的方法添加事务,此时出现异常,执行的结果是对数据库进行了修改。正常情况应该是,有异常就不应该提交成功,即有异常进行事务回滚操作。.........原创 2022-07-17 17:42:21 · 83 阅读 · 0 评论