logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

解决maven拉取不到snapshot jar, settings.xml配置

POM.xml文件里更改了version,发现jar包拉不下来,一直报错,看了仓库是有这个jar的,开始看我的maven配置文件,发现是配置了不拉取快照版本的jarmaven的setting.xml配置:<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1

#maven#jar#xml
mybatis-plus分页插件失效

mybatis-plus 用的3.3.0版本使用方法:Page<TestEntity> page = new Page<>(pageIndex, pageSize);Page<TestEntity> userPage = this.page(page, queryWrapper);发现查询出来了所有的数据,分页未生效。排查发现缺少PaginationInterc

#java#mybatis
spring plugin插件入门小结

Spring Plugin是世界上最小规模的插件系统,通过提供扩展核心系统功能的插件实现的核心灵活性,可以满足构建模块化可扩展应用程序的要求。添加maven依赖<dependency><groupId>org.springframework.plugin</groupId><artifactId>spring-plugin-core</arti

#spring#java#restful
获取spring代理对象出现Cannot find current proxy问题

Cannot find current proxy: Set ‘exposeProxy’ property on Advised to ‘true’ to make it available.手动获取代理对象,遇到上面异常,没有获取到代理,是因为Spring的AOP框架默认不公开代理,因为存在性能成本,exposeProxy默认是false,配置成true即可<aop:aspectj-aut

android 抓取实时日志 adb logcat 命令

adb logcat | grep -i(忽略大小写)关键字。adb logcat -v time > 输出日志的文件地址。adb connect IP地址。将之前的日志清空,重新输出日志。链接指定的android机器。以时间的格式将log输出。

#android#adb
androidStudio,Generate Signed Bun. Couldnot resolve all files for configuration ‘:app:lintClassPath‘

在app的build.gradle中的android部分添加下代码,忽略release打包检查。打debug版本没有问题。release就报错。

#android#android studio#gradle
解决 413 Request Entity Too Large(请求实体太大)

上传文件出现问题 413 Request Entity Too Large,如下图所示我们可以看到请求的body的大小,在Content-Length后显示,Nginx默认的request body为1M,小于我们上传的大小解决方案找到自己主机的nginx.conf配置文件,打开在http{}中加入 client_max_body_size 10m;然后重启nginx/etc/...

#nginx
mac es启动报错 Exception in thread “main“ java.nio.file.NotDirectoryException

Exception in thread “main” java.nio.file.NotDirectoryException: /Users/lin/software/elasticsearch/elasticsearch-7.13.2/plugins/.DS_Storeat java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStrea

到底了