摘要:
用mina做了一个UDP接收的程序,绑定的时候没有指定IP,只是指定了端口。然后还是在本机连接127.0.0.1和UDP端口号,死活收不到数据。用TCP/UDP工具发送数据,提示如下: The virtual circuit was reset by the remote side executin 阅读全文
摘要:
在eclipse中运行,SpringApplication.run之后的代码是可以执行的,但是放在tomcat中无法运行。 实现 ApplicationListener<ContextRefreshedEvent> 来实现。 @Component public class StartSysListe 阅读全文