技术类
xiaozhushaitaiyang
这个作者很懒,什么都没留下…
展开
-
seata客户端启动报:not support register type: null
seata客户端启动报:not support register type: null原创 2022-03-10 13:18:08 · 1400 阅读 · 0 评论 -
seata客户端启动ClassNotFoundException: io.seata.spring.annotation.datasource.SeataAutoDataSourceProxyCrea
seata客户端启动:ClassNotFoundException: io.seata.spring.annotation.datasource.SeataAutoDataSourceProxyCrea原创 2022-03-10 12:00:14 · 1630 阅读 · 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 · 444 阅读 · 0 评论 -
Spring Cloud 与 Spring Boot的版本对应关系
在springboot项目中添加eureka对应的版本原创 2022-03-03 09:37:39 · 779 阅读 · 0 评论 -
spring-boot-starter-parent 升级到2.3.0.RELEASE pom.xml报Unknown
spring-boot 升级后pom.xml第一行报Unknown错原创 2022-03-02 10:45:19 · 833 阅读 · 0 评论 -
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 · 7050 阅读 · 0 评论 -
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 · 261 阅读 · 0 评论 -
mybatis+redis二级缓存
项目使用的是spring+mybatis+mysql5.5 系统运行后一旦执行复杂查询 mysql 服务器cpu疯狂飙升(为什么要执行复杂查询 因为我打不赢产品 一个列表横不得把系统所有数据都展示出来)。闹骚发完了说正事。那首先想到是优化sql ,一顿优化 风险太大,效果不明显。 然后加缓存 先上mybatis的一级缓存 ,但是查资料说是只在一个sqlSession下有效。我在service方法原创 2017-11-16 10:38:30 · 856 阅读 · 0 评论 -
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 · 200 阅读 · 0 评论 -
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 · 671 阅读 · 0 评论 -
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 · 2610 阅读 · 0 评论 -
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 · 218 阅读 · 0 评论 -
maven项目发布后lib下是空的
今天新建了maven项目转成web项目部署运行报jar文件找不到,打开tomcat下webapps 找到 发现项目下的lib是空的。解决方案:项目右键 --》properties --》Deployment Assembly --》 add 把Maven Dependencies 添加进去就可以了。ok 解决。翻译 2017-10-19 20:23:39 · 1642 阅读 · 0 评论