不支持请求方法POST或GET的一种解决方法 该错误一般是请求类型对不上导致的,比如PostMapping和GetMapping请求,一般错误发生在下图所示位置,我把Post和Get搞错了。问题发生的情景: 使用postman发送post请求是报了该错误,下图是修复后的截图,可以Post新的blog了修改建议:确认后台注解的Mapping类型和请求的类型一致...
[Warning] Using a password on the command line interface can be insecure.ERROR 1045 (28000): [Warning] Using a password on the command line interface can be insecure.ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)直接给出我的解决方案:检查一下mysql -u root-p 后面是不是加了分号了。正确答案是不加分号,加了分号就会出现以上警告。其他情况请看其他大佬。...