IDEA运行SpringBootApplication.main()报错
错误信息如下:
Command line is too long. Shorten command line for SpringBootMainApplication or also for App;
解决方法:
在.idea\workspace.xml文件的"PropertiesComponent"标签里新增<property name="dynamic.classpath" value="true" />;
Postman调试api接口返回Required request body is missing错误
解决方法:
Postman请求body选择raw方式,并使用json格式传输数据;
Mysql安装后忘记默认密码无法登录
解决方法:
修改MySQL安装目录下的my.ini,增加一句skip-grant-tables,即能够以空密码登录MySQL;