永发信息网

apache起不来,高手指点

答案:2  悬赏:0  手机版
解决时间 2021-03-20 18:53
  • 提问者网友:难遇难求
  • 2021-03-20 01:33
在eclips下点击"猫"就出现了如下错误,请高手指点呀!
org.apache.catalina.core.StandardContextValve@18d30fb
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger))at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 20 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger
at java.net.URLClassLoader$1.run(Unknown Source)
... 21 more
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.ExceptionInInitializerError
org.apache.catalina.core.StandardService.start(StandardService.java:450)at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
... 6 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.ClassNotFoundException: TldConfig.java:66)
... 15 more
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger)
... 19 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
... 20 more
最佳答案
  • 五星知识达人网友:轻雾山林
  • 2021-03-20 01:51
都是java.lang.ClassNotFoundException 很可能是某些jar包没导入 检查一下吧 也有可能是你的apache下的tool.jar包和你的编译环境的tool.jar包不一致
全部回答
  • 1楼网友:低血压的长颈鹿
  • 2021-03-20 03:21
检查 80 和443 端口有没有被占用,有的时候443端口被占用的时候 xampp里面的 apache 也是启动不了的
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯