logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

执行make命令报错:gcc:命令未找到/bin/sh: cc: 未找到命令

问题描述:执行make命令报错:gcc:命令未找到/bin/sh: cc: 未找到命令问题原因:原因是虚拟机系统中缺少gcc解决方式:执行下面命令安装gccyum -y install gcc automake autoconf libtool make注:如果出现“zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录”这个报错,请参考:https

文章图片
使用restTemplate启动报错:Field restTemplate in com.demo.service.OrderToMemberService required a bean of ty

报错内容:Field restTemplate in com.demo.service.OrderToMemberService required a bean of type ‘org.springframework.web.client.RestTemplate’ that could not be found.问题原因:spring没有将restTemplate注入到容器解决方式:在启动类中

文章图片
SpringCloud整合Nacos启动报错:Injection of autowired dependencies failed; nested exception is java.lang.Ill

报错内容:org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘memberServiceImpl’: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgume

文章图片
Jvisualvm设置中文

从官网上下载的Jvisualvm.exe,一般启动后都为英文版。如果本地电脑中有安装JDK,只要你使用的是JDK1.6 Update7之后的版本,那么它久已经在你的JDK bin目录里了。(该版本为中文版)直接启动JDK中bin目录下的jvisualvm.exe即可。...

文章图片
required a bean of type ‘com.xxx.xxx.mapper.XxxMapper‘ that could not be found.

报错内容:Description:Field userMapper in com.demo.api.impl.member.MemberServiceImpl required a bean of type 'com.demo.api.impl.mapper.UserMapper’ that could not be found.The injection point has the follow

文章图片
SpringBoot项目启动报错:Field userMapper in com.demo.controller.MemberController required a bean of type ‘c

问题描述:SpringBoot项目启动报错,报错内容:‘com.xxx.mapper.XxxxMapper’ that could not be found*************************** APPLICATION FAILED TO STARTDescription:Field userMapper in com.demo.controller.MemberControlle

文章图片
SpringBoot整合Redis注解访问报错:EL1008E: Property or field ‘getListMember‘ cannot be found on object of type

问题描述:Springboot整合redis注解,请求访问时报错:org.springframework.expression.spel.SpelEvaluationException: EL1008E:Property or field ‘getListMember’ cannot be found on object of type‘org.springframework.cache.inte

文章图片
到底了