報(bào)錯(cuò):
Error running ‘HelloControllerTest.testRedis’: Command line is too long. Shorten command line for HelloControllerTest.testRedis or also for JUnit default configuration?
解決方法
1.打開Idea,在右上角項(xiàng)目啟動(dòng)欄找到Edit Configuration:

2.點(diǎn)擊Modify options:

3.再點(diǎn)擊Shorten command line:

4.更換Shorten command line選項(xiàng):

5.重新啟動(dòng),問題解決,程序成功運(yùn)行。