IDEA比较常用的快捷键
摘要:IDEA比较常用的快捷键 快捷键 说明 Ctrl+] 诸如围起来的代码块,使用该快捷键可以快速跳转至代码块的结尾处 Ctrl+[ 同上,快速跳至代码块的开始出 Ctrl+Shift+Enter 将输入的if、for、函数等等补上或者;使代码语句完整 Shift+Enter 在当前行的下方开始新行 C
阅读全文
posted @
2021-05-21 11:06
万智
阅读(136)
推荐(0)
Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
摘要:错误原因 在pom中引入了mybatis-spring-boot-starter ,Spring boot默认会加载org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration类,DataSourceAutoConfi
阅读全文
posted @
2021-05-18 14:42
万智
阅读(2425)
推荐(0)
nginx配置权重,ip_hash....
摘要:nginx为后端web服务器(apache,nginx,tomcat,weblogic)等做反向代理 几台后端web服务器需要考虑文件共享,数据库共享,session共享问题.文件共享可以使用nfs,共享存储(fc,ip存储都行)+redhat GFS集群文件系统,rsync+inotify文件同步
阅读全文
posted @
2021-05-13 20:13
万智
阅读(4494)
推荐(0)
解决idea单元测试@RunWith没有提示
摘要:换成idea有一个月了,很多功能慢慢熟悉,今天想测试一下web程序 @RunWith没有提示查看一下原来是 scope 作用域 idea上不支持
阅读全文
posted @
2021-05-13 16:49
万智
阅读(1001)
推荐(0)
斐波那契数列
摘要:斐波那契数列(Fibonacci sequence),又称黄金分割数列、兔子数列,是数学家列昂纳多·斐波那契于1202年提出的数列。 斐波那契数列为1、1、2、3、5、8、13、21、34……此数列从第3项开始,每一项都等于前两项之和, 递推公式为F(n)=F(n-1)+F(n-2),n≥3,F(1
阅读全文
posted @
2021-05-12 21:19
万智
阅读(1692)
推荐(0)
idea中maven配置文件报错
摘要:11:20:02.826 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreation
阅读全文
posted @
2021-05-06 11:32
万智
阅读(257)
推荐(0)