Tomcat下執行jdonframework問題??
小弟剛接觸jdonframework用您配置好的Tomcat環境,解壓後執行startup.bat,控制檯報錯,執行http://localhost:8080/jpetstore/也找不到網頁??
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: D:\javaserver\jakarta-tomcat-5.0.28\logs\tomcat5.log (系統找不到指定的路徑。)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:206)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:456)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:145)
at org.apache.log4j.Logger.getLogger(Logger.java:85)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
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 org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.catalina.core.StandardService.<clinit>(StandardService.java:53)
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.startup.Bootstrap.init(Bootstrap.java:208)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
log4j:ERROR Either File or DatePattern options are not set for appender [R].
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: D:\javaserver\jakarta-tomcat-5.0.28\logs\tomcat5.log (系統找不到指定的路徑。)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:206)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:456)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:145)
at org.apache.log4j.Logger.getLogger(Logger.java:85)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
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 org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.catalina.core.StandardService.<clinit>(StandardService.java:53)
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.startup.Bootstrap.init(Bootstrap.java:208)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
log4j:ERROR Either File or DatePattern options are not set for appender [R].
相關文章
- iis和tomcat同時執行,完美解決80埠衝突問題Tomcat
- 兩行命令解決 Windows 下 Homestead 執行緩慢的問題Windows
- vegetable one(tomcat問題)Tomcat
- 淺談tomcat執行模式Tomcat模式
- 03 執行緒安全問題執行緒
- SimpleDateFormat 執行緒安全問題ORM執行緒
- webViewDidFinishLoad 執行多次的問題WebView
- react onClick自執行問題React
- 請教個問題執行 httprunner 遇到的問題HTTP
- docker-執行tomcat服務DockerTomcat
- ArrayList 的執行緒安全問題執行緒
- [20230224]ssh date執行問題.txt
- 深入JAVA執行緒安全問題Java執行緒
- 多執行緒問題解釋執行緒
- JUC之多執行緒鎖問題執行緒
- 多執行緒相關問題執行緒
- 非專案目錄下命令列執行go程式遇到的問題命令列Go
- Windows下Pycharm執行命令列語句結果亂碼問題��Ȩ��Ӧ��WindowsPyCharm命令列
- Java多執行緒中執行緒安全與鎖問題Java執行緒
- Docker安裝+HelloWorld+執行TomcatDockerTomcat
- Tomcat配置jsp亂碼問題TomcatJS
- IDEA中Tomcat亂碼問題IdeaTomcat
- Windows下安裝java jdk和tomcat執行環境簡單整理WindowsJavaJDKTomcat
- 子執行緒 UI 問題捉蟲執行緒UI
- 執行docker run所遇到的問題Docker
- 多執行緒之8鎖問題執行緒
- parallelStream中的執行緒安全問題Parallel執行緒
- 05.java多執行緒問題Java執行緒
- Aqua Data Studio 執行HiveSql的問題HiveSQL
- 結合執行棧、執行上下文,理解this的指向問題
- Tomcat 9.0.26 高併發場景下DeadLock問題排查與修復Tomcat
- tomcat伺服器快取問題Tomcat伺服器快取
- 04.關於執行緒你必須知道的8個問題(下)執行緒
- 多執行緒,你覺得你安全了?(執行緒安全問題)執行緒
- 第15篇 執行緒鎖的問題執行緒
- CMD執行命令列時卡住的問題命令列
- 模板方法中的執行緒安全問題執行緒
- 單例模式執行緒安全reorder問題單例模式執行緒
- [20220414]toad呼叫執行指令碼問題.txt指令碼