- 博客(21)
- 收藏
- 关注
原创 ERROR: failed to solve: process “/bin/sh -c cp Dockerfile demo“ did not complete successfully: exit
dockerfile 构建
2024-04-23 22:18:22
1810
1
原创 Caused by: io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required.
设置了redis密码,但是配置文件未写密码就会报这个错。添加redis 密码即可。
2023-09-02 15:42:41
551
原创 Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
【代码】Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception。
2023-05-13 11:15:00
293
原创 Failed to start bean ‘webServerStartStop‘; nested exception is java.lang.reflect.UndeclaredThrowable
忘启动nacos。
2023-04-27 22:26:20
2324
1
原创 Exception in thread “main“ java.lang.IllegalStateException: Logback configuration error detected
logback-spring.xml配置文件子节点名字写错。
2023-04-18 20:31:08
1407
原创 java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration
@SpringBootConfiguration异常
2023-03-14 20:12:45
776
原创 Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
NoSuchBeanDefinitionException
2023-02-22 19:47:23
188
原创 String总结
1. Scann类next():结束标记是空格,tab键nextLine():结束标记是回车换行符nextInt() 和 nextLine() 配合使用时, nextLine() 没有键盘录入的机会。因此如果是字符串和整数一起接受, 建议使用next() 接收字符串。2. 创建对象区别2.1 通过构造方法创建通过 new 创建的字符串对象,每一次 new 都会申请一个内存空间,虽然内容相同,但是地址值不同。2.2 直接赋值方式创建以 “” 方式给出的字符串,只要字符序列相同(
2022-05-28 10:28:27
170
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人