logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Spring boot 事务无效,报错:Transaction not enabled

后来想到每个service都集成了BaseService,其中的save、saveBatch等常用方法都放到了BaseService中,但是BaseService本身没有添加Transactional注解,添加后问题解决。上述方法是网上通用的方法,详细参考:https://www.cnblogs.com/kesimin/p/9546225.html,但是本地测试事务无效。报错是因为得不到事务标识,

#spring boot#mybatis#java
maven下载依赖失败

前情提要由于特殊原因,官方maven库经常连接失败,所以很多maven都配置了阿里云的镜像。但是阿里云的镜像里有很多依赖都没有,这时候如果你的项目需要这些依赖,就会导致编译失败。1. 问题1描述:This failure was cached in the local repository and resolution is not reattempted until the update int

#maven#java
【问题】Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only

问题在编译某开源项目(openLooKeng)时出现异常,导致编译失败。异常内容[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only (default) on project presto-vv: Dependency problems found -&g

#maven#apache#java
ES出现read-only的解决办法

环境Elasticsearch 6.5.1问题es入库出现如下异常:Caused by: org.elasticsearch.hadoop.EsHadoopException: Could not write all entries for bulk operation [1000/1000]. Error sample (first [5] error messages):org.elastic

#elasticsearch
hbase执行org.apache.hadoop.hbase.mapreduce.RowCounter出错

需求统计hbase某个表的所有rowkey数量方法使用hbase提供的类,RowCounter。具体命令:./hbase org.apache.hadoop.hbase.mapreduce.RowCounter 'table_name'出现异常命令执行后控制台出现以下错误:2021-04-21 15:46:19,787 INFO[main] Configuration.deprecation: y

#hadoop
记一次zookeeper连接慢的问题和解决方法

1. 环境服务器:CentOS Linux release 7.9.2009 (Core)zookeeper:3.6.3java:1.8.0_2312. 问题zookeeper客户端连接到zookeeper节点有20秒的延迟,而且每次都是20秒。自己编写客户端进行测试,通过日志看到在某个环节上会出现阻塞,导致延迟。15:49:12.424 [main] INFOorg.apache.zookeep

#java#linux#zookeeper
MySQL(Mariadb)启动失败

问题修改/etc/my.conf文件中的数据保存目录后,mariadb启动失败。排查使用systemctl status mariadb.service查看原因[root@linux-4-193 mysql]# systemctl status mariadb.service● mariadb.service - MariaDB database serverLoaded: loaded (/us

#mariadb#mysql#linux
暂无文章信息