// String rootPath = System.getProperty("org.springframework.osgi.web.deployer.tomcat.workspace")+"upload/attachments/mould/";
String path = Thread.currentThread().getContextClassLoader() .getResource("").getPath() + "download";//这个download目录为啥建立在classes下的