摘要: Exception in thread "main" java.lang.IllegalStateException: Failed to check the status of the service com.******. No provider available for the servic 阅读全文
posted @ 2019-08-15 10:39 meadowhuhu 阅读(2484) 评论(0) 推荐(0) 编辑
摘要: 1报错java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) w 阅读全文
posted @ 2019-08-02 15:55 meadowhuhu 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 编辑服务器上文件 vi ~/.ssh/authorized_keys 将本地的cat ~/.ssh/id_rsa.pub的公钥加到authorized_keys中 查询ip配置ifconfig 上传文件 scp filename admin@ip地址://文件目录 例如:scp test.war a 阅读全文
posted @ 2019-07-31 13:44 meadowhuhu 阅读(253) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/duanrantao/p/8988116.html chkconfig 命令现在替换为sysv-rc-conf Ubuntu下安装sysv-rc-conf报错:ubuntuE: Unable to locate package sysv-rc-conf 阅读全文
posted @ 2019-07-17 10:04 meadowhuhu 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 网上搜索有方法是建立一个idea.desktop,按照这个方式操作后,桌面上双击idea.desktop就打开成文本文件,但是我试了没有作用,后面在usr/share/applications中也添加了idea.desktop,仍然没有作用。 解决方法: 通过命令行打开idea后,在tools下可以 阅读全文
posted @ 2019-07-10 16:54 meadowhuhu 阅读(560) 评论(1) 推荐(1) 编辑
摘要: 转自https://blog.csdn.net/daocaoren92wq/article/details/83342742 https://www.cnblogs.com/jiyongjia/p/9527499.html 配置 第一步:在文件目录 中新建一个my.ini的文件,代码如下,把其中的两 阅读全文
posted @ 2019-06-24 12:56 meadowhuhu 阅读(538) 评论(0) 推荐(0) 编辑
摘要: -b:指定密钥长度; -e:读取openssh的私钥或者公钥文件; -C:添加注释; -f:指定用来保存密钥的文件名; -i:读取未加密的ssh-v2兼容的私钥/公钥文件,然后在标准输出设备上显示openssh兼容的私钥/公钥; -l:显示公钥文件的指纹数据; -N:提供一个新密语; -P:提供(旧 阅读全文
posted @ 2019-06-10 16:05 meadowhuhu 阅读(633) 评论(0) 推荐(0) 编辑
摘要: substring() 方法返回字符串的子字符串 public String substring(int beginIndex) public String substring(int beginIndex, int endIndex) 参数 beginIndex起始索引,包括在内;索引从0开始 e 阅读全文
posted @ 2019-06-10 15:47 meadowhuhu 阅读(157) 评论(0) 推荐(0) 编辑
摘要: File/Project structure/Artifacts设置选择需要的Elements 选择Build下的Build Artifacts对包进行build 阅读全文
posted @ 2018-07-12 14:01 meadowhuhu 阅读(111) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Manyu_Java/article/details/78993294 在项目的.idea/workspace.xml文件中,找到 <component name="PropertiesComponent">,添加一行<property name="dyn 阅读全文
posted @ 2018-07-04 11:05 meadowhuhu 阅读(248) 评论(0) 推荐(0) 编辑