自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

黑猫城管的专栏

架构师之路

  • 博客(17)
  • 资源 (1)
  • 收藏
  • 关注

原创 seata客户端启动报:not support register type: null

seata客户端启动报:not support register type: null

2022-03-10 13:18:08 1461

原创 seata客户端启动ClassNotFoundException: io.seata.spring.annotation.datasource.SeataAutoDataSourceProxyCrea

seata客户端启动:ClassNotFoundException: io.seata.spring.annotation.datasource.SeataAutoDataSourceProxyCrea

2022-03-10 12:00:14 1678 2

原创 seata客户端启动:java.lang.ClassNotFoundException: io.netty.util.concurrent.FastThreadLocalThread

seata客户端启动:java.lang.ClassNotFoundException: io.netty.util.concurrent.FastThreadLocalThread

2022-03-10 11:56:25 472

原创 Spring Cloud 与 Spring Boot的版本对应关系

在springboot项目中添加eureka对应的版本

2022-03-03 09:37:39 814

原创 spring-boot-starter-parent 升级到2.3.0.RELEASE pom.xml报Unknown

spring-boot 升级后pom.xml第一行报Unknown错

2022-03-02 10:45:19 867

原创 spring cloud config Could not resolve placeholder

服务端 pom.xml客户端:这2个jar一定要区分。

2018-11-27 09:21:38 1807 1

原创 spring boot 自定义后缀后 图片上传问题

今天在做spring boot图片上传的时候 获取MultipartFile file 一直为null。最后调试发现是因为我在项目中设置访问自定义后缀 .htm。后来找到这位大神的文章解决了。https://www.bbsmax.com/A/gGdX4KEd4m/添加图片解析器还需要添加 commons-fileupload.jar...

2018-11-22 14:57:34 457

原创 spring boot JPA 扫描不到repository问题

今天做spring boot 集成jpa 的时候 ,项目启动 控制台没有数据库相关的信息,也不能自动建表,还扫描不到repository 。最后跟以前的springboot jpa 项目比较 发现jar版本不一致,其他基本一样。我采用的是org.springframework.bootspring-boot-starter-parent2.0.3.RELEASE mysql版本是默...

2018-11-16 16:27:16 7150

原创 eclipse启动2个EurekaClient 实例

1、创建EurekaService import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.cloud.netflix.eureka.server.Enabl...

2018-11-08 12:07:17 3666

原创 uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deploye

行报错:uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application缺少jar javax.servlet jstl 1.2 taglibs sta

2017-12-12 15:28:13 270

原创 mybatis+redis二级缓存

项目使用的是spring+mybatis+mysql5.5 系统运行后一旦执行复杂查询 mysql 服务器cpu疯狂飙升(为什么要执行复杂查询 因为我打不赢产品  一个列表横不得把系统所有数据都展示出来)。闹骚发完了说正事。那首先想到是优化sql ,一顿优化 风险太大,效果不明显。 然后加缓存 先上mybatis的一级缓存 ,但是查资料说是只在一个sqlSession下有效。我在service方法

2017-11-16 10:38:30 863

原创 Could not obtain transaction-synchronized Session for current thread

spring4. 3 +  hibernate4.3 执行sessionFactory.getCurrentSession() 抛 Could not obtain transaction-synchronized Session for current thread  异常。解决方法:添加 openSessionInView org.springframework.orm.hib

2017-11-02 20:48:43 214

翻译 maven项目发布后lib下是空的

今天新建了maven项目转成web项目部署运行报jar文件找不到,打开tomcat下webapps 找到 发现项目下的lib是空的。解决方案:项目右键 --》properties --》Deployment Assembly --》 add  把Maven Dependencies 添加进去就可以了。ok 解决。

2017-10-19 20:23:39 1689

原创 spring4.3.x与apach-cxf.2.7x jar冲突

升级spring到4.3.3.RELEASE  会与apache-cxf.2.7.x 冲突解决方法: org.apache.cxf apache-cxf 3.1.4 pom 3.1.0~3.1.4 之间没有问题,再升级到3.1.4 以上就又有冲突。最终决定使用3.1.4

2017-10-11 21:03:54 697

原创 spring4.3.3.x 与activemq-all5.14.0 jar冲突

在使用更新springjar包导4.3.3系统报错:Caused by: java.lang.NoSuchMethodError: org.springframework.core.serializer.support.DeserializingConverter.(Ljava/lang/ClassLoader;)V at org.springframework.data.redis.ser

2017-10-11 20:48:55 2636

原创 spring + redis 集群

项目中的reids要从单机版更换到集群配置,我使用的是spring-data-redis.jar  主要难点就是jar包各种冲突。 4.3.3.RELEASE 1.2.17 1.7.2.RELEASE 2.9.0 org.springframework spring-webmvc ${springframework} o

2017-10-11 20:19:15 237

原创 不是group by表达式

今天写了一个hql的group by查询语句 老是报 不是group by 表达式..hql : select sc.student ,count(sc.student) from StudentClass group by sc.student 后来把它改成: select sc.student.id ,count(sc.student.id)...

2010-02-03 12:29:33 804

spring + redis集群

采用spring-data-redis 搭建redis集群,代码包含redis工具类,可存储对象集合,maven项目,部署可运行。

2017-10-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除