About the reason why the idea import project cannot run

Today I followed Brother Hu to learn redis. I want to import half of the projects to learn redis. I found that the imported projects cannot be run.

Then I instinctively thought that the jdk version was wrong, I took a look and it was right!

 Finally, I found that the generated .class file directory was not output, so I had to run it.

Compare the output of the Project of the normal project

Solution:

Add the output folder directory to the Project

Example: H:\redis\hm-dianping\out

 

Guess you like

Origin blog.csdn.net/OMGcome/article/details/123600008
Recommended