- 博客(4)
- 问答 (1)
- 收藏
- 关注
原创 SQL server :在其上下文中,该请求的地址无效
加上端口就是走TCP/IP协议,不加走到就是Shared Memory 或者Named Pipes协议,走不通TCP协议,我在Sql Server Configuration Manager中把所有TCP/IP 协议的都设置为允许1433 并没有起到作用,防火墙出入站规则也加上了1433端口也没效果。
2024-12-13 08:20:22
346
原创 Mybatisplus 的多个功能不生效的原因:未在MybatisSqlSessionFactoryBean中配置
需要MybatisSqlSessionFactoryBean 中重新添加以下内容:插件主体 :MybatisPlusInterceptor影响分页插件等, 需要使用 MybatisSqlSessionFactoryBean.setPlugins(MybatisPlusInterceptor)将其加入。Mybatisplus 配置:MybatisConfiguration影响YML文件内的配置的生效 ,MybatisSqlSessionFactoryBean.setConfiguration.(Myb
2022-02-24 14:54:45
3630
原创 mybaits 报错提示 mybatis-config.xml 找不到 Could not find resource mybatis-config.xml
maven 的配置文件pom.xml里加 <resource> <directory>src/main</directory> <includes> <include>**/*.xml</include> </includes> </re
2022-01-14 15:50:45
705
原创 mybaits plus demo Table “USER“ not found 可能原因及其解决办法
mybaits demo Table "USER" not found 可能原因及其解决办法mybaits demo导致的原因表现特征解决办法探究过程总结原因mybaits demo导致的原因mybaits 的demo使用H2数据库,并且使用脚本在spring 启动时创建 table,插入数据,然后再在测试类里查找数据。这时候测试不通过报错提示 “Table “USER” not found”,可能的原因——创建数据库的脚本没有执行。表现特征测试提示 :Error querying databa
2022-01-12 15:26:48
3144
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人