上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 60 下一页
摘要: 打印 SQL 日志logbak.xml <?xml version="1.0" encoding="UTF-8"?> <configuration debug="true"> <!-- 省略...... --> <!-- mybatis打印sql语句 到 debug 下 --> <logger na 阅读全文
posted @ 2021-09-03 09:42 VipSoft 阅读(707) 评论(0) 推荐(0)
摘要: 思路,将依赖的第三方jar包,移到启动jar包个面外部加载 jar 包 SpringBoot Jar 包太大 瘦身 【初试】简单应用 SpringBoot Jar 包太大 瘦身 【终极版】,建议使用这种方式,如果是docker,通过映射的方式,不要将 lib 打到镜像里面 1.导出 依赖的 jar  阅读全文
posted @ 2021-09-02 15:31 VipSoft 阅读(3448) 评论(2) 推荐(0)
摘要: SpringBoot Jar 包太大 瘦身,建议使用时,参考: SpringBoot Jar 包太大 瘦身 【终极版】 29M, 排除少量JAR包方式 打包,排除指定jar 包 <build> <plugins> <plugin> <groupId>org.springframework.boot< 阅读全文
posted @ 2021-09-02 15:11 VipSoft 阅读(809) 评论(0) 推荐(0)
摘要: JAVA 获取 URL 指定参数的值 @Test void regexTest() { String url = "https://chuna2.787528.xyz/vipsoft/p/15213397.html?name=abc&age=123"; String result = getFieldV 阅读全文
posted @ 2021-09-01 10:02 VipSoft 阅读(2405) 评论(0) 推荐(0)
摘要: Nginx -t 时报 (3: The system cannot find the path specified) 原因:路径中有文件夹是中文,Nginx 全路径,不能包含中文 阅读全文
posted @ 2021-08-06 10:55 VipSoft 阅读(2129) 评论(0) 推荐(0)
摘要: 发现 static 或 public 下面的图片无法访问 spring: profiles: active: dev resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath 阅读全文
posted @ 2021-08-05 10:39 VipSoft 阅读(805) 评论(0) 推荐(0)
摘要: SoapUI 调WebService 报 No running communication point is configured to process this request. 错误 检查入参是否有特殊符号 <soap:Envelope xmlns:soap="http://www.w3.org 阅读全文
posted @ 2021-08-04 22:28 VipSoft 阅读(635) 评论(0) 推荐(0)
摘要: 开始提示 鼠标点到类名称上面,Alt+Enter 或者 通过小灯泡提示,点击生成 serialVersionUID 阅读全文
posted @ 2021-07-27 12:50 VipSoft 阅读(104) 评论(0) 推荐(0)
摘要: 在Nginx配置文件nginx.conf中加入如下配置。(index.html根据实际页面配置) 增加:try_files $uri $uri/ /index.html; #解决页面刷新404问题 server { listen 8080; server_name localhost; locati 阅读全文
posted @ 2021-07-24 21:33 VipSoft 阅读(2041) 评论(2) 推荐(1)
摘要: 项目中,两个模块中都放了 Mapper,如下所示 @MapperScan(basePackages ={"com.vipsoft.his.mapper","com.vipsoft.his.sdfyy.mapper"} ) 为了方便,两个合成了一个, @MapperScan(basePackages 阅读全文
posted @ 2021-07-20 16:54 VipSoft 阅读(398) 评论(0) 推荐(0)
摘要: npm set registry https://registry.npm.taobao.org npm set disturl https://npm.taobao.org/dist npm cache clean --forcenpm i -g cnpm --registry=https://r 阅读全文
posted @ 2021-07-19 23:27 VipSoft 阅读(390) 评论(0) 推荐(0)
摘要: 解决步骤:1、执行netsh int tcp show global 查看默认TCP全局参数等相关设置 Windows 2012 默认ECN 功能是开启的,将其关闭即可 以管理员的身份运行下列命令:netsh int tcp set global ecncapability=disabled 【网络 阅读全文
posted @ 2021-07-15 22:32 VipSoft 阅读(610) 评论(0) 推荐(0)
摘要: SpringBoot WebService 源代码:https://gitee.com/VipSoft/VipWebService SpringBoot WebService 及 注意项: https://chuna2.787528.xyz/vipsoft/p/14993568.html 服务端添加拦截 阅读全文
posted @ 2021-07-10 18:24 VipSoft 阅读(371) 评论(0) 推荐(0)
摘要: SpringBoot WebService 源代码:https://gitee.com/VipSoft/VipWebService SpringBoot 版本 <version>2.3.0.RELEASE</version> <cxf.version>3.3.1</cxf.version> <dep 阅读全文
posted @ 2021-07-10 12:21 VipSoft 阅读(612) 评论(0) 推荐(0)
摘要: SpringBoot WebService 源代码:https://gitee.com/VipSoft/VipWebService SpringBoot 整合 WebService cxf 报错 Consider revisiting the entries above or defining a 阅读全文
posted @ 2021-07-09 22:31 VipSoft 阅读(232) 评论(0) 推荐(0)
摘要: Mac /System/Library/Frameworks/JavaVM.framework/Home/bin/java: No such file or directory 查找JAVA_HOME 打开Mac的终端,检查JDK是否安装成功:java -version 查看java指令所在的目录: 阅读全文
posted @ 2021-07-09 14:39 VipSoft 阅读(2542) 评论(0) 推荐(0)
摘要: jimmy@MacBook-Pro bin % wsdl2java http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?wsdl zsh: no matches found: http://www.webxml.co 阅读全文
posted @ 2021-07-08 20:59 VipSoft 阅读(815) 评论(0) 推荐(0)
摘要: 在不改程序的情况下,修改 sql 时,需要将 Mapper 中的 XML 文件 放到外面 mybatis: mapper-locations: classpath:mapper/*.xml #JAR 包里面 mybatis: mapper-locations: file:mapper/*.xml # 阅读全文
posted @ 2021-07-08 15:09 VipSoft 阅读(1735) 评论(4) 推荐(0)
摘要: @Component public class NettyClient implements ApplicationContextAware { NettyClientHandler nettyClientHandler; /** * 当前 ApplicationContent 后面注入用 */ p 阅读全文
posted @ 2021-06-24 09:35 VipSoft 阅读(96) 评论(0) 推荐(0)
摘要: 以下是伪代码 方法一 前后代码省略 //绑定服务器,该实例将提供有关IO操作的结果或状态的信息 ChannelFuture channelFuture = bootstrap.bind(); this.serverChannel = channelFuture.channel(); //给cf 注册 阅读全文
posted @ 2021-06-23 19:12 VipSoft 阅读(4404) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 60 下一页