排序
Java String日期格式化
SimpleDateFormat fromUser = new SimpleDateFormat('dd/MM/yyyy'); SimpleDateFormat myFormat = new SimpleDateFormat('yyyy-MM-dd'); try { String reformattedStr = myFormat.format(fromUs...
Java删除目录及其子目录
代码如下: package com.netsdk.demo; import java.io.File; /** * @author 四个空格-https://www.ddmit.com/ */ public class FileDeleteDemo { public static void main(String[] args) { Fil...
Java中Timer和ThreadPoolExecutor的区别和比较
今天闲来无事读Java中Timer的源码,发现Timer的注释中有这么一段 Java 5.0 introduced the {@code java.util.concurrent} package and one of the concurrency utilities therein is the {@link...
利用ant脚本自动构建svn增量/全量系统程序升级包
参考:http://www.cnblogs.com/hoojo/p/ant_increment_svn_diff_diffSummarize.html
Java使用ffmpeg将amr格式转换为mp3格式
自行下载ffmpeg最新版,代码如下: /** * @author 四个空格-https://www.ddmit.com/ */ public class FfmpegTest { public static void main(String[] args) { String sPath = 'D:\\mp3test\\2....
解决Idea创建Maven项目时一直显示Loading archetype list…
方法1:更改maven设置 方法2:删除文件,重新生成 删除文件{User_Home}/.IntelliJIdea{Version}/system/Maven/Indices ,重启Idea!
WARNING: Unknown version string [3.1]. Default version will be used.
Tomcat 7只支持 Servlet 3.0及以下版本,Tomcat 8支持 Servlet 3.1。修改web.xml。 参考: https://stackoverflow.com/questions/24226131/warning-unknown-version-string-3-1-default-version...
Idea启动提示:Dependency mapping for [type=java.lang.String, name=’struts.devMode’] already exists
这是JRebel插件的bug,解决的办法是在Tomcat运行参数添加: -Drebel.struts2_plugin=false 或者不以jrebel方式启动。 参考:https://issues.apache.org/jira/browse/WW-4842;
IntelliJ IDEA插件jrebel激活(2018最新)
环境: IntelliJ IDEA 2018.3; Jrebel 2018.1.7; 方式一 激活方式如下: 1.访问官方网站https://my.jrebel.com/; 2.使用facebook或twitter登陆; 3.点击左侧Install and Activate; 可以在右...
Tomcat 7解压版安装为windows服务
环境: windows 7 apache-tomcat-7.0.79-windows-x64.zip 下载的时候注意版本选择Windows平台的,否则没有service.bat文件: 服务安装 首先进入解压后的$TOMCAT_HOME/bin目录,执行如下命令: /...

![Idea启动提示:Dependency mapping for [type=java.lang.String, name=’struts.devMode’] already exists-哒哒的马蹄](https://img.snailshub.com/images/2019/02/11/tomcat-jrebel-param.jpg)

