intellij idea adds the directory to the classpath

You can right click on any directory in your IntelliJ project, select "Mark Directory As...", and choose "Source Root". That director folder will change color from yellow to blue; IntelliJ considers all those directories to be in your CLASSPATH.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326581761&siteId=291194637