java get the current project path System.getProperty ( "user.dir")

 

System.getProperty("user.dir")

Folder of the project is the absolute path

Guess you like

Origin www.cnblogs.com/xiaostudy/p/11390502.html