non-static requires static method

<form>表单中的action和method使用方法

<form action="" method="post"> form是表单 里面的内容是要提交出去的。 action 是链接 点击浏览选择提交位置,可以把数据提交到另一个页面,还可以提交到后台。 method 是方法 method是方法,有get和post两种,各有所长。就是内容填好后提交需要一个 ......
表单 使用方法 方法 action method

Required request body is missing: 前端接口报错错误解决

前几天遇到一个报错:Required request body is missing; 经过检查是因为在传递参数时使用params来传递的。 而使用params来传递参数会被拼接到url上不管是get还是post请求,这时候请求体也就是body是不存在的。 所有后端在获取参数时会报request b ......
前端 Required 接口 错误 request

xxx required a bean of type ‘java.lang.Integer‘ that could not be found

日志 2022-11-03 13:15:38.189 ERROR 8384 [] [ main] o.s.b.d.LoggingFailureAnalysisReporter 40 : *************************** APPLICATION FAILED TO START * ......
required Integer could found bean

4-springboot多数据源配置报错Cause: java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName

springboot2.0版本以上的多数据源配置改成: spring.datasource.refunddb.url=jdbc:mysql://refund地址spring.datasource.refunddb.username=uatspring.datasource.refunddb.pass ......

12、static关键字

static关键字可以修饰变量或者函数。 声明局部静态变量 声明类内静态数据成员/成员函数。 1、声明局部静态变量 void test() { static int a = 1; // 静态局部变量 int b = 1; // 普通局部变量 } 静态局部变量在函数内定义,但不像自动变量那样当函数被调 ......
关键字 关键 static
共575篇  :20/20页 首页上一页20下一页尾页