로컬에서 에러
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
HTTP Status 500 - java.io.FileNotFoundException: D:\workspace\Example2\WebContent\WEB-INF\classes\resource\ActionConfig.properties (지정된 경로를 찾을 수 없습니다) type Exception report message java.io.FileNotFoundException: D:\workspace\Example2\WebContent\WEB-INF\classes\resource\ActionConfig.properties (지정된 경로를 찾을 수 없습니다) description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: java.io.FileNotFoundException: D:\workspace\Example2\WebContent\WEB-INF\classes\resource\ActionConfig.properties (지정된 경로를 찾을 수 없습니다) com.finix.common.ctrl.CommonActionCtrl.init(CommonActionCtrl.java:55) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Unknown Source) root cause |
서버에서 에러
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
HTTP Status 500 – Internal Server Error Type Exception Report Message java.io.FileNotFoundException: /WEB-INF/classes/resource/ActionConfig.properties (그런 파일이나 디렉터리가 없습니다) Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception javax.servlet.ServletException: java.io.FileNotFoundException: /WEB-INF/classes/resource/ActionConfig.properties (그런 파일이나 디렉터리가 없습니다) com.finix.common.ctrl.CommonActionCtrl.init(CommonActionCtrl.java:55) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748) Root Cause java.io.FileNotFoundException: /WEB-INF/classes/resource/ActionConfig.properties (그런 파일이나 디렉터리가 없습니다) java.io.FileInputStream.open0(Native Method) java.io.FileInputStream.open(FileInputStream.java:195) java.io.FileInputStream.<init>(FileInputStream.java:138) java.io.FileInputStream.<init>(FileInputStream.java:93) com.finix.common.ctrl.CommonActionCtrl.init(CommonActionCtrl.java:32) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748) Note The full stack trace of the root cause is available in the server logs. |
수정위치
서버 수정 : 경로명을 풀로 적어 준다.
1 2 3 4 5 6 7 8 9 10 11 |
<servlet> <servlet-name>Controller</servlet-name> <servlet-class>com.finix.common.ctrl.CommonActionCtrl</servlet-class> <init-param> <param-name>actionConfig</param-name> <param-value>/home/world/New/ROOT/WEB-INF/classes/resource/ActionConfig.properties</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> |
댓글