logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

eureka-client依赖爆红无法下载

springcloud无法导入eureka,引入错误

#eureka#云原生#spring cloud
spring整合mybatis时不报错但出现查询结果为null的情况解决

原因有可能是你的数据库中数据表的字段名与你的javabean实体类中的属性不一致出现的导致映射失败。有两种解决方法:第一种比较方便:在mybatis配置文件中开启驼峰命名规则<settings><!--开启驼峰命名--><setting name="mapUnderscoreToCamelCase" value="true"/></settings>

#mybatis#mysql#spring +2
pycharm配置Anaconda运行环境报错:error code:2.F:\Anaconda\Anaconda3\python.exe can.t opeen file

报错内容:error code:2.F:\Anaconda\Anaconda3\python.exe can.t opeen file。需要选择conda.exe,而不是python.exe。而conda.exe存在于Anaconda3的Scripts目录下;之后加载出来你的Anaconda;

文章图片
#python#pycharm#ide
mapper文件无法注入service里面的问题解决,字段 userMapper 需要一个无法找到的类型为“XXX.UserMapper”的 bean。

问题:Description:Field userMapper in com.sise.tsgdemo.Service.UserService required a bean of type 'com.sise.tsgdemo.mapper.UserMapper' that could not be found.The injection point has the following annot

#java#spring
到底了