报错:
Error running ‘HelloControllerTest.testRedis’: Command line is too long. Shorten command line for HelloControllerTest.testRedis or also for JUnit default configuration?
解决方法
1.打开Idea,在右上角项目启动栏找到Edit Configuration:
2.点击Modify options:
3.再点击Shorten command line:
4.更换Shorten command line选项:
5.重新启动,问题解决,程序成功运行。