1、需要下载jacooc 和 ant的包,放在linux下。目录自定 Ant:https://ant.apache.org/bindownload.cgi(历史版本:https://archive.apache.org/dist/ant/binaries/)Jacoco:https://www.ec ...
分类:
系统相关 时间:
2020-05-06 20:08:15
阅读次数:
100
Configuration (18%) Configuring a Pod to Use a ConfigMap Create a new file named config.txt with the following environment variables as key/value pair ...
分类:
其他好文 时间:
2020-05-05 14:00:47
阅读次数:
69
共同点: @Autowired&@Resource都是完成对象的依赖注入 他们都是写在类成员变量上或成员变量的setter方法上 不同点: Autowired完整类org.springframework.beans.factory.annotation.Autowired,是Spring定义的注解; ...
分类:
其他好文 时间:
2020-05-05 11:13:38
阅读次数:
60
. 问题详细提示如下: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable) E: Unable to acquire the dpkg frontend lock ...
分类:
其他好文 时间:
2020-05-05 11:01:45
阅读次数:
57
尽量写一些通用的service。还能再抽象的,暂时先不继续了。 1.新建测试用的mapping PUT /nba { "mappings": { "properties": { "jerseNo" : { "type" : "keyword" }, "name" : { "type" : "text ...
public static String md5(String resource) { // 1.判断resource是否有效 if(resource.length()==0||resource==null){ //2.抛出异常 throw new RuntimeException(CrowdCon ...
分类:
其他好文 时间:
2020-05-04 13:17:17
阅读次数:
70
java class类中两个方法的用法。 getResource(name): 获取资源的路径。 name有两种传入方式: "text.txt": 这种模式,将会取到与代码文件对应路径的resource路径下的文件。具体如下: src/main/java/tt/test.java 文件将会取到src ...
分类:
其他好文 时间:
2020-05-03 20:27:57
阅读次数:
71
[主程序入口.cpp] #include <windows.h> #include <tchar.h> #include "resource.h" #include "CMyApp.h" //这个还没用到,就先注释起来 //HINSTANCE m_hInstance; HWND m_hWnd; in ...
在tomcat的 conf/tomcat-users.xml文件的如下位置添加用户配置:<user username="admin" password="wmsap1" roles="manager-gui"/> 重启tomcat服务,打开tomcat管理地址:http://ip:端口/manage ...
分类:
其他好文 时间:
2020-05-02 20:48:17
阅读次数:
49
系统:Windows10 Docker:Docker Desktop (version 19.03.8) Link IoT Edge:LE Pro专业版 现象:安装脚本或者运行时出现如下错误 C:\Program Files\Docker\Docker\resources\bin\docker.ex ...
分类:
其他好文 时间:
2020-05-02 16:50:51
阅读次数:
114