• 首页
  • 留言板
  • 小工具
  • 英语角

  • Jedis OOM command not allowed when used memory > 'maxmemory'

    原因 Redis内存满了(配置的最大内存为3G) 127.0.0.1:6379> info memory # Memory used_memory:322

    2020.10.21,阅读:319,评论:0,点赞:0,标签:Redis Java 

  • Spring Boot JdbcTemplate in语句注意事项

    描述 在多条件查询情况下,拼接SQL语句时使用到了in关键词不管参数传入List集合还是Array数组,等到的结果集都是空。 List<

    2020.10.09,阅读:206,评论:0,点赞:0,标签:Spring Boot JdbcTemplate Java 

  • Java7 文件变动监听

    应用 应用热更新。 代码 可用于监听单个文件变更。 public static void main(String[] args) { try {

    2020.09.27,阅读:157,评论:0,点赞:0,标签:Java 

  • Java中识别字符串编码

    添加依赖 <dependency> <groupId>com.googlecode.juniversalchardet</

    2020.09.25,阅读:189,评论:0,点赞:0,标签:Java 

  • Java synchronized锁字符串注意点

    描述 使用synchronized关键字,根据不同字符串进行上锁。 public static void main(String[] args) { f

    2020.09.24,阅读:202,评论:0,点赞:0,标签:Java 

  • 使用Java8压缩文件

    Java8 public class ZipFile { public static Path zip(String dirPath, String

    2020.05.28,阅读:347,评论:0,点赞:0,标签:Java 

  • Java ObjectMapper格式化输出JSON

    优雅输出 使用writerWithDefaultPrettyPrinter方法。 public static void main(String[] args)

    2020.05.27,阅读:774,评论:0,点赞:0,标签:Java JSON Jackson 

  • Java判断后缀是否匹配规则

    PathMatcher 使用JDK7提供的API。之前一般使用endsWith判断以指定格式结尾。 public static void main(String

    2020.05.26,阅读:296,评论:0,点赞:0,标签:Java 

  • Java推断资源的Content-Type

    代码 使用JDK7中引入的Files类的probeContentType方法。 获取的Content-Type为image/png、image/jpg等。 pu

    2020.05.25,阅读:228,评论:0,点赞:0,标签:Java Content-Type 

  • Spring Boot获取resource目录下的文件

    ResourceUtils 虽然Spring提供的工具类ResourceUtils在Windows上可以正常使用,但这个工具类在CentOS上可能会遇到读取不到

    2020.05.22,阅读:486,评论:0,点赞:0,标签:Spring Boot Java 

  • Spring Boot使用JavaMailSender发送邮件

    添加依赖 <dependency> <groupId>org.springframework.boot</groupId&

    2020.05.21,阅读:411,评论:0,点赞:0,标签:Spring Boot Java 

  • Spring Boot使用@Valid校验前端传递的参数

    @Valid 使用@Valid注解标注的参数,可直接配置校验注解拦截请求。 @NotNull:字段不能为空。 @NotBlank:字段不能为空或空白字符。 @

    2020.05.15,阅读:874,评论:0,点赞:0,标签:Spring Boot Java Validator 

  • Spring Boot使用MongoTemplate操作MongoDB

    引入依赖 <dependency> <groupId>org.springframework.boot</groupId&

    2020.05.09,阅读:2956,评论:0,点赞:1,标签:MongoDB Spring Boot Java 

  • Java注释也会被执行?

    代码 public class Comment { public static void main(String[] args) {

    2020.05.05,阅读:454,评论:0,点赞:0,标签:Java 

  • Oracle数据库连接异常ORA-28000: the account is locked

    异常 Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not g

    2020.04.28,阅读:399,评论:0,点赞:0,标签:Oracle Java 

  • Oracle数据库连接异常ORA-28001: the password has expired

    异常 Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not g

    2020.04.27,阅读:498,评论:0,点赞:1,标签:Oracle Java 

  • Spring Boot无法写出Cookie

    问题描述 在使用了前后端分离、Spring Security和Spring Session的Spring Boot后端项目(Undertow作为web容器)后,

    2020.04.21,阅读:387,评论:0,点赞:0,标签:Spring Boot Java Cookie 

  • Spring Boot打包本地jar包到war包中

    本地依赖 本地jar包放置与resource文件夹下的lib文件夹。 <dependency> <groupId>com.exa

    2020.04.08,阅读:432,评论:0,点赞:0,标签:Spring Boot Maven Java 

  • Spring Boot中的ApplicationRunner和CommandLineRunner

    介绍 ApplicationRunner和CommandLineRunner两个runner都是在Spring Boot程序初始化完成后调用,可以做一些业务的初

    2020.04.07,阅读:525,评论:0,点赞:0,标签:Spring Boot Java 

  • 自定义spring-boot-starter

    新建Spring Boot项目 添加配置处理器 <dependency> <groupId>org.springframewor

    2020.04.06,阅读:585,评论:0,点赞:0,标签:Spring Boot Java Maven 

  • 上一页
  • 1
  • 2
  • 3
  • 4
  • 下一页尾页

标签

JavaOpenRestyRedisLinuxAndroidNginxMySQLMongoDBPostgreSQLPHPGitElasticsearchPython面试算法小程序

友链

安静的阿根小吴的黑科技工坊

站长统计

  • 文章数:712
  • 访客数:207067
  • 浏览量:901862

阅读排行榜

  • lanyus激活时IDEA提示your activation code could not be validated error 1653219阅读数:201141
  • Android使用adb wm命令调整手机分辨率阅读数:6670
  • IDEA破解后打不开解决方法阅读数:6663
  • Elasticsearch出现circuit_breaking_exception异常阅读数:6521
  • Windows10访问网页提示找不到服务器IP地址阅读数:4719

点赞排行榜

  • lanyus激活时IDEA提示your activation code could not be validated error 1653219点赞数:797
  • IDEA破解后打不开解决方法点赞数:25
  • Windows10访问网页提示找不到服务器IP地址点赞数:9
  • Elasticsearch health status显示为yellow解决方法点赞数:7
  • Android使用adb wm命令调整手机分辨率点赞数:7

评论排行榜

  • lanyus激活时IDEA提示your activation code could not be validated error 1653219评论数:116
  • pgAdmin4 Failed to open the system default web browser.Is one installed?.评论数:4
  • IDEA破解后打不开解决方法评论数:2
  • 微信小程序基于Parser添加长按复制、代码高亮等功能评论数:2
  • Nginx日志按天生成评论数:2

分享至微信

©2019 沪ICP备18012661号-1 阿里云

关于我们-免责声明-网站地图-GitHub