java如何获取上一级目录
String allInOneProjectPath = System.getProperty("user.dir");//当前项目工作目录
System.out.println("===============================" + allInOneProjectPath);
File curAllInOneProjectFile = new File(allInOneProjectPath);
File rootProjectFileDir = curAllInOneProjectFile.getParentFile();//获取上一级目录
本文地址:http://www.yayihouse.com/yayishuwu/chapter/1115
向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti