idea
起名伤脑
这个作者很懒,什么都没留下…
展开
-
StringUtils.hasText(String str)用法
源代码: public static boolean hasText(@Nullable CharSequence str) { return (str != null && str.length() > 0 && containsText(str)); } //字符串不为null,str.isEmpty非true即false 三者都为true返回true否则返回false public static boolean hasText(@.原创 2021-08-05 15:49:30 · 4226 阅读 · 7 评论 -
Failed to configure ‘url‘ attribute is not specified and no embedded datasource could be configured.
遇到一个奇怪问题:新拉的项目启动报错:Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are ...原创 2021-07-23 15:59:37 · 325 阅读 · 1 评论 -
idea导入springboot项目,没有自行下载maven依赖(右侧栏没有maven project)
ctrl+shift+A 输入maven 选择 add maven projects 选择项目中的pom文件 即可出现来自:https://www.cnblogs.com/Juff-code/p/13390356.html原创 2021-06-02 16:17:51 · 1192 阅读 · 0 评论 -
springboot项目启动redis报错Could not get a resource from the pool; nested exception is io.lettuce.core.
解决方法:找到你的redis安装路径:启动redis-server.exe启动成功后:从新启动项目解决。原创 2021-05-13 10:02:48 · 10199 阅读 · 0 评论 -
idea pull报错GiteeAccessTokenExpiredException: 401 Unauthorized: Access token is expired,解决方法
在pull时idea报错:GiteeAccessTokenExpiredException: 401 Unauthorized: Access token is expired原因:是登录gitee密码过期解决方法:在idea中 File--->Settings--->Version Control--->Gitee 输入密码再次登录就可以了...原创 2021-04-24 10:20:31 · 4688 阅读 · 2 评论