上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: package com.qing.qing.test;import com.jcraft.jsch.*;import com.sun.xml.internal.messaging.saaj.util.ByteInputStream;import org.apache.commons.io.FileU 阅读全文
posted @ 2020-08-14 08:02 覃上 阅读(826) 评论(0) 推荐(0) 编辑
摘要: cmd管理员打开,进入tomcat/bin 目录 执行以下命令: service.bat install 服务名 service remove 服务名 service.bat中初始堆内存为128m - 256m 项目比较大时不够用,可自行更改 if "%SERVICE_STARTUP_MODE%" 阅读全文
posted @ 2020-08-12 08:20 覃上 阅读(2017) 评论(0) 推荐(0) 编辑
摘要: tomcat/bin/catalina.bat set "JAVA_OPTS=%JAVA_OPTS% %JSSE_OPTS% -Dfile.encoding=UTF-8" 控制台乱码,tomcat/conf/logging.properties 阅读全文
posted @ 2020-08-11 17:12 覃上 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: 1. ssh项目 pom.xml配置,此项优先。 <build> <finalName>myweb</finalName> <plugins> <!--JDK版本 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId 阅读全文
posted @ 2020-08-11 09:21 覃上 阅读(2782) 评论(0) 推荐(0) 编辑
摘要: (trade2000[\.a-zA-Z_]*\s?) /*$1*/ $1代表第一个括号内匹配到的值 阅读全文
posted @ 2020-08-10 12:59 覃上 阅读(857) 评论(0) 推荐(0) 编辑
摘要: . 中央仓库 <mirror> <id> maven-net-cn</id> <name> Maven China Mirror</name> <url> http://maven.net.cn/content/groups/public/</url> <mirrorOf> central</mir 阅读全文
posted @ 2020-08-10 12:17 覃上 阅读(1938) 评论(0) 推荐(0) 编辑
摘要: public class Test { public static void main(String[] args) { String newContent = "\n\tprivate String {0};\n" + "\tprivate boolean modify_{0} = false;\ 阅读全文
posted @ 2020-08-09 13:25 覃上 阅读(449) 评论(0) 推荐(0) 编辑
摘要: //目的是在java文件中插入属性和getter、setter方法 //找到最后一个}的结束位置,插入内容,并把}补上,}的ascii码是125 RandomAccessFile randomAccessFile = null; try { Field[] fields_beihai = com.s 阅读全文
posted @ 2020-08-08 16:07 覃上 阅读(474) 评论(0) 推荐(0) 编辑
摘要: import com.icloudmap.utils.webui.ResultMessage;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.web.bind.annotation.R 阅读全文
posted @ 2020-08-07 08:54 覃上 阅读(3130) 评论(1) 推荐(1) 编辑
摘要: 1. 启动类加注解 @EnableScheduling org.springframework.scheduling.annotation.EnableScheduling2. 保证包被扫描到,可以加@ComponentScan(basepackage = {"com.java.test"}) im 阅读全文
posted @ 2020-08-06 12:27 覃上 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页