tomcat布署时提示 java.io.FileNotFoundException 路径空格变成了特殊符号

/C:/Users/Administrator/Workspaces/MyEclipse%20Professional%202014/.metadata/.me_tcat7/webapps/EquipmentDepreciationDistribution/WEB-INF/classes/setting.config
java.io.FileNotFoundException: C:\Users\Administrator\Workspaces\MyEclipse%20Professional%202014\.metadata\.me_tcat7\webapps\EquipmentDepreciationDistribution\WEB-INF\classes\setting.config (系统找不到指定的路径。)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:146)
    at dao.MainDao.ReadConfig(MainDao.java:395)
    at com.Context.getInstance(Context.java:15)
    at dao.MainDao.<init>(MainDao.java:37)
    at server.MainServer.<init>(MainServer.java:30)
    at selvert.CheckUserServlet.doPost(CheckUserServlet.java:32)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.apache.catalina.core.Applicatio

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页