新手開發遇到問題,求幫助解決!!!
ERROR FileManager (${env:CATALINA_HOME}/logs/jdon.log) java.io.FileNotFoundException: ${env:CATALINA_HOME}\logs\jdon.log (檔名、目錄名或卷標語法不正確。)
2013-04-16 17:29:33,552 ERROR Unable to invoke method createAppender in class org.apache.logging.log4j.core.appender.FileAppender for element File java.lang.reflect.InvocationTargetException
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)
at org.apache.logging.log4j.core.config.BaseConfiguration.createPluginObject(BaseConfiguration.java:711)
at org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:477)
at org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:469)
at org.apache.logging.log4j.core.config.BaseConfiguration.doConfigure(BaseConfiguration.java:156)
at org.apache.logging.log4j.core.config.BaseConfiguration.start(BaseConfiguration.java:114)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:251)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:267)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:134)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:75)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:30)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:165)
at com.jdon.container.startup.ServletContainerListener.<clinit>(ServletContainerListener.java:45)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4150)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.IllegalStateException: Unable to create a manager
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:70)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:47)
at org.apache.logging.log4j.core.appender.FileManager.getFileManager(FileManager.java:58)
at org.apache.logging.log4j.core.appender.FileAppender.createAppender(FileAppender.java:99)
... 46 more
整合之後,出現上面的情況,該怎麼解決?
2013-04-16 17:29:33,552 ERROR Unable to invoke method createAppender in class org.apache.logging.log4j.core.appender.FileAppender for element File java.lang.reflect.InvocationTargetException
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)
at org.apache.logging.log4j.core.config.BaseConfiguration.createPluginObject(BaseConfiguration.java:711)
at org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:477)
at org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:469)
at org.apache.logging.log4j.core.config.BaseConfiguration.doConfigure(BaseConfiguration.java:156)
at org.apache.logging.log4j.core.config.BaseConfiguration.start(BaseConfiguration.java:114)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:251)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:267)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:134)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:75)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:30)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:165)
at com.jdon.container.startup.ServletContainerListener.<clinit>(ServletContainerListener.java:45)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4150)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.IllegalStateException: Unable to create a manager
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:70)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:47)
at org.apache.logging.log4j.core.appender.FileManager.getFileManager(FileManager.java:58)
at org.apache.logging.log4j.core.appender.FileAppender.createAppender(FileAppender.java:99)
... 46 more
整合之後,出現上面的情況,該怎麼解決?
相關文章
- 用shell幫助解決ORA問題
- chatGPT幫助開發實戰解答問題和反思ChatGPT
- CRM系統能幫助企業解決哪些問題?
- jive最後一關遇到的問題,請高手幫助
- ERP系統可以幫助企業解決哪些問題
- 雲真機可以幫助測試解決什麼問題?
- 請求幫助!
- 請求幫助:
- CRM系統幫助企業解決管理上難解決的問題(下)
- 開發圖書館模組遇到問題及相關解決
- 微信小程式開發中遇到的問題及解決方式微信小程式
- 老哥們我遇到一個很奇怪的問題 子程式間互相影響。。求幫忙解決
- CRM系統幫助企業解決了哪些商機問題?
- 人工智慧再出手,幫助解決鋰電池爆炸問題人工智慧
- 批發分銷ERP系統可以幫助企業解決什麼問題?
- 遇到問題的解決方法
- win10系統遇到問題時獲取幫助的方法Win10
- ERP系統能夠幫助企業解決什麼問題
- [求助]..新手!遇到struts呼叫sessionbean問題?SessionBean
- 韓國研究人員研發機器人Fribo,可幫助年輕人解決孤獨問題機器人
- 請求幫助!謝謝!
- 有問題問男人,linux幫助文件-----man命令講解Linux
- 自己練習寫一個論壇時遇到問題幫我解決了吧
- 【請求 幫助】有關分析模式書中的一些問題模式
- [提問交流]求大神幫忙看一下,本人新手還在學習,遇到一個問題,想請教一下!!
- 搭建Laravel Sail開發環境遇到的版本不匹配問題解決方法LaravelAI開發環境
- JSP開發過程遇到的中文亂碼問題及解決方案JS
- Android開發過程中遇到的問題以及解決辦法 how toAndroid
- ArcGIS開發幫助文件地址
- 玩Deno遇到問題的解決方案
- 今天遇到的問題與解決方法
- CKEditor使用中遇到的問題解決
- 解決 plsql 遇到亂碼的問題SQL
- 解決在使用Amoeba遇到的問題
- 大資料尋求幫助!大資料
- 哪位常用Jbuilder,急求幫助!!!UI
- 解決github中一個新手著名問題Github
- 模切ERP系統如何幫助模切企業解決倉庫問題