新手開發遇到問題,求幫助解決!!!
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
整合之後,出現上面的情況,該怎麼解決?
相關文章
- CRM系統能幫助企業解決哪些問題?
- ERP系統可以幫助企業解決哪些問題
- chatGPT幫助開發實戰解答問題和反思ChatGPT
- 雲真機可以幫助測試解決什麼問題?
- CRM系統幫助企業解決管理上難解決的問題(下)
- 批發分銷ERP系統可以幫助企業解決什麼問題?
- 老哥們我遇到一個很奇怪的問題 子程式間互相影響。。求幫忙解決
- ERP系統能夠幫助企業解決什麼問題
- 人工智慧再出手,幫助解決鋰電池爆炸問題人工智慧
- CRM系統幫助企業解決了哪些商機問題?
- 遇到問題的解決方法
- win10系統遇到問題時獲取幫助的方法Win10
- 有問題問男人,linux幫助文件-----man命令講解Linux
- Android開發過程中遇到的問題以及解決辦法 how toAndroid
- [提問交流]求大神幫忙看一下,本人新手還在學習,遇到一個問題,想請教一下!!
- 玩Deno遇到問題的解決方案
- 搭建Laravel Sail開發環境遇到的版本不匹配問題解決方法LaravelAI開發環境
- 模切ERP系統如何幫助模切企業解決倉庫問題
- 解決github中一個新手著名問題Github
- Fabric 環境搭建遇到問題及解決
- nodejs 近期所遇到的問題及解決NodeJS
- ERP系統物料替代解決方案,幫助企業解決物料管理難題
- SoundSource5幫你解決音量問題
- 大資料尋求幫助!大資料
- 新手linux系統常見問題解決方案Linux
- 基於CodeMirror開發線上編輯器時遇到的問題及解決方案
- 近期工作遇到的問題及解決方式收藏
- mysql登入遇到ERROR 1045問題解決方法MySqlError
- 解決macbook安裝burp suite遇到的問題MacUI
- 好用的CRM系統幫助企業解決管理難題(上)
- 前端http請求跨域問題解決前端HTTP跨域
- csrf解決Ajax請求跨站問題
- [提問交流]開發問題求指導
- Idea裡開發遇到所有專案的所有程式碼爆紅的問題與解決Idea
- workerman開發過程中遇到的一些常見的問題與解決方法
- 充電樁+立體車庫,領充幫助解決停車難、充電難問題
- 遇到網路問題?別慌!MTR來幫您
- React開發中遇到的問題總結React
- 開發以太坊遇到的幾個問題