上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 52 下一页
摘要: 1.实现自定义mybatis拦截器@Component @Intercepts({ @Signature(type = Executor.class, method = "update", args = { MappedStatement.class, Object.class }) }) publ 阅读全文
posted @ 2020-07-21 13:34 huiy_小溪 阅读(1691) 评论(2) 推荐(0)
摘要: 用mina做了一个UDP接收的程序,绑定的时候没有指定IP,只是指定了端口。然后还是在本机连接127.0.0.1和UDP端口号,死活收不到数据。用TCP/UDP工具发送数据,提示如下: The virtual circuit was reset by the remote side executin 阅读全文
posted @ 2020-07-18 18:24 huiy_小溪 阅读(3077) 评论(0) 推荐(0)
摘要: upstream test { server 127.0.0.1:9080 weight=1; #server 192.168.4.68:80 weight=1; #ip_hash; } server { listen 80; server_name jsjnks.test.com; charset 阅读全文
posted @ 2020-07-18 11:06 huiy_小溪 阅读(1558) 评论(0) 推荐(1)
摘要: 原文:https://www.cnblogs.com/codecat/p/12076186.html首先,使用cmd命令打开CMD命令窗口使用下面的命令来查看某端口被占用的情况,以8035为例:netstat -ano|findstr "8065"结果如下图:最后一列的6532为PID号,根据这个P 阅读全文
posted @ 2020-07-17 23:39 huiy_小溪 阅读(158) 评论(0) 推荐(0)
摘要: 原来IDE是idea,在pom中做了文件复制的配置,后来又改回了eclipse,把idea的文件复制配置给去了,就出现了上述情况。解决办法:maven >force update 阅读全文
posted @ 2020-07-17 20:33 huiy_小溪 阅读(285) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="GBK"?> 这句话的前面不能有空格或空行,必须顶格. 阅读全文
posted @ 2020-07-17 18:17 huiy_小溪 阅读(242) 评论(0) 推荐(0)
摘要: <!--解决Intellij构建项目时,target/classes目录下不存在mapper.xml文件 --> <resources> <resource> <directory>${basedir}/src/main/java/</directory> <includes> <include>* 阅读全文
posted @ 2020-07-17 00:45 huiy_小溪 阅读(266) 评论(0) 推荐(0)
摘要: 解决办法,在自动生成的代码中去除一行(红框处): 阅读全文
posted @ 2020-07-16 16:26 huiy_小溪 阅读(257) 评论(0) 推荐(0)
摘要: 编辑bin下面的catalina.bat,在第一行添加如下内容: set JAVA_HOME=D:\app\Java\jdk1.8.0_102set JRE_HOME=D:\app\Java\jdk1.8.0_102\jreset CATALINA_BASE=D:\app\apache-tomcat 阅读全文
posted @ 2020-07-13 17:32 huiy_小溪 阅读(180) 评论(0) 推荐(0)
摘要: 在eclipse中运行,SpringApplication.run之后的代码是可以执行的,但是放在tomcat中无法运行。 实现 ApplicationListener<ContextRefreshedEvent> 来实现。 @Component public class StartSysListe 阅读全文
posted @ 2020-07-13 16:02 huiy_小溪 阅读(1823) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 52 下一页