当前位置: 技术问答>java相关
tomcat 启动不了
来源: 互联网 发布时间:2015-09-21
本文导语: 下午还能用,机器重起了就启动不了了,我重装了一扁tomcat,还是起动不了,显示: C:jdk1.4binjava.exe -jar -Duser.dir="C:Program FilesApache GroupTomcat 4.1" "C:Program FilesApache GroupTomcat 4.1binbootstrap.jar" start java.lang.NoSuchMethodError: java...
下午还能用,机器重起了就启动不了了,我重装了一扁tomcat,还是起动不了,显示:
C:jdk1.4binjava.exe -jar -Duser.dir="C:Program FilesApache GroupTomcat 4.1" "C:Program FilesApache GroupTomcat 4.1binbootstrap.jar" start
java.lang.NoSuchMethodError: java.util.logging.Logger.logp(Ljava/util/logging/Le
vel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:126)
at org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:192
)
at org.apache.commons.modeler.Registry.loadRegistry(Registry.java:264)
at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1591)
at org.apache.catalina.mbeans.MBeanUtils.(MBeanUtils.java:162)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.(
GlobalResourcesLifecycleListener.java:115)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)......
是怎么回事啊?tomcat_home和java_home我都设了啊
C:jdk1.4binjava.exe -jar -Duser.dir="C:Program FilesApache GroupTomcat 4.1" "C:Program FilesApache GroupTomcat 4.1binbootstrap.jar" start
java.lang.NoSuchMethodError: java.util.logging.Logger.logp(Ljava/util/logging/Le
vel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:126)
at org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:192
)
at org.apache.commons.modeler.Registry.loadRegistry(Registry.java:264)
at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1591)
at org.apache.catalina.mbeans.MBeanUtils.(MBeanUtils.java:162)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.(
GlobalResourcesLifecycleListener.java:115)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)......
是怎么回事啊?tomcat_home和java_home我都设了啊
|
不是说了找不到java.util.logging.Logger.logp方法吗?
你的classpath路径下的jar文件中都没有这个方法呗
你的classpath路径下的jar文件中都没有这个方法呗
|
classpath配置对没有?
|
server.xml
|
估计是你的server.xml配置有问题