logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

idea maven The build could not read 飘红

The build could not read 2 projects -> [Help 1]The project com.atguigu.springcloud:microservicecloud-eureka-2:0.0.1-SNAPSHOT (D:\ideapro\microservicecloud\microservicecloud-eureka-2\pom.xml) ...

#idea#maven
docker安装elasticsearch 6.4.3 停止

先打印日志docker logs 9dcea100677bOpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.[2019-11-15T07:22:07,906][IN...

#elasticsearch#docker
idea默认回到上次光标位置快捷键

idea回到上一个光标位置的默认快捷键是ctrl + alt + 向左箭头到下一个光标位置是 ctrl + alt + 向右箭头

#idea
springboot整合dubbo javax.management.InstanceNotFoundException解决方案

javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplicationjavax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringAp...

#dubbo
Springboot整合Logback java.lang.IllegalStateException: Logback configuration error detected:

Exception in thread "restartedMain" java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Na...

#logback
springboot整合h2数据库 org.h2.jdbc.JdbcSQLException: Database may be already in use: null

h2数据库不支持多连接,项目和工具同时连接会产生冲突,点击红色小方块,之后重新启动项目即可解决

springboot整合mybatis bean注入失败最新解决方案

先贴图先说说我的具体排查思路1.先看看数据库类型和实体类类型是否一致2.是否忘了加注解3.检查配置文件的数据源配置和mybatis配置4.换个数据源5.写单元测试类绕过service层6.看pom文件的resource注解配置的mapper路径是否正确,xml配置文件路径是否和mapper接口类路径一致7.看xml配置文件中的mapper路径是否写错8.检查p...

#mybatis
Springboot使用Beanutils转换mybatis逆向工程生成的类抛出java.lang.ClassCastException

异常如下:java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integerat org.apache.ibatis.type.IntegerTypeHandler.setNonNullParameter(IntegerTypeHandler.java:26) ~[mybatis-3....

#mybatis
Springboot整合mybatis org.springframework.beans.factory.UnsatisfiedDependencyException

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2019-11-16 20:30:21.538 ERROR 18740 --- [ restartedMain] o.s.boot.SpringApplication ...

#mybatis
springboot自定义拦截器类中使用@Autowired注解为空解决方案

加上@Service注解即可解决调用的时候加上@Autowired注解代码如下:package com.nice.interceptor;import com.nice.mapper.UserMapper;import com.nice.model.User;import org.springframework.beans.factory.annotation.A...

    共 16 条
  • 1
  • 2
  • 请选择