十二月 15, 2016 11:32:54 上午 警告: D:\eclipse\.\plugins\configuration\plugin.xml (系统找不到指定的文件。) java.io.FileNotFoundException: D:\eclipse\.\plugins\configuration\plugin.xml (系统找不到指定的文件。) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at com.fr.plugin.PluginLoader.readFromInstallHome(Unknown Source) at com.fr.plugin.PluginLoader.readPlugins(Unknown Source) at com.fr.plugin.PluginLoader.init(Unknown Source) at com.fr.plugin.PluginLoader.foreInit(Unknown Source) at com.fr.report.module.EngineModule.startFinish(Unknown Source) at com.fr.fs.FSModule.startFinish(Unknown Source) at com.fr.report.module.EngineModule.start(Unknown Source) at com.fr.general.ModuleContext.startModule(Unknown Source) at com.fr.web.BaseServlet.init(Unknown Source) at com.fr.web.ReportServlet.init(Unknown Source) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1282) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1195) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1085) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5349) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5641) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) StableUtils中的getInstallHome方法为什么返回一个"."? public static String getInstallHome() { String str1 = System.getProperty("user.dir"); if (str1 == null) { return "."; } File localFile = new File(str1); if ((localFile.exists()) && (localFile.isDirectory())) { String[] arrayOfString1 = localFile.list(); for (String str2 : arrayOfString1) { if ((str2.contains("designer.exe")) || (str2.contains("designer.app"))) { return localFile.getParent(); } } } return "."; } 我该怎么做呢? 求大神指点。 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|