81,092
社区成员
发帖
与我相关
我的任务
分享
//计量流程定义(XML)文件的存放位置
public static final String PROCESSPATH_JILIANG="processDefinitionFile\\process.xml";
String path = "C:\\Documents and Settings\\Administrator\\桌面\\mislhy.xml";
FileWriter writer = new FileWriter(Constants.PROCESSPATH_JILIANG);
xmlOut.output(myDocument, writer);
writer.close();
java.io.FileNotFoundException: \test\processDefinitionFile\process.xml (系统找不到指定的路径。)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at java.io.FileWriter.<init>(FileWriter.java:46)
at com.pims.module.measure.web.action.CreateProcessXmlAction.getSelectNode(CreateProcessXmlAction.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)