Server tomcat was unnable start within 45 seconds

遇到几次了。老是忘记这个问题的解决方式。

 新建一个项目的时候,初次启动,有时要启动很久。所以老是报错。

解决方式:

在tomcat Server上双击

2.修改启动超时的时间,将其改大,如设置300秒


3.保存,然后重启tomcat

Server Tomcat v7.0 Server at localhost failed to start

01-13

一月 13, 2016 11:06:58 上午 org.apache.tomcat.util.digester.Digester startElementrn严重: Begin event threw exceptionrnjava.lang.ClassNotFoundException: org.apache.catalina.startup.VersionLoggerListenerrn at java.net.URLClassLoader.findClass(URLClassLoader.java:381)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:424)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:357)rn at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)rn at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1282)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)rn at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1543)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:554)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:497)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430)rnrn一月 13, 2016 11:06:58 上午 org.apache.catalina.startup.Catalina loadrn警告: Catalina.start using conf/server.xml: Error at (21, 76) : org.apache.catalina.startup.VersionLoggerListenerrn一月 13, 2016 11:06:58 上午 org.apache.tomcat.util.digester.Digester startElementrn严重: Begin event threw exceptionrnjava.lang.ClassNotFoundException: org.apache.catalina.startup.VersionLoggerListenerrn at java.net.URLClassLoader.findClass(URLClassLoader.java:381)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:424)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:357)rn at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)rn at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1282)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)rn at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1543)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:554)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:608)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:497)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)rnrn一月 13, 2016 11:06:58 上午 org.apache.catalina.startup.Catalina loadrn警告: Catalina.start using conf/server.xml: Error at (21, 76) : org.apache.catalina.startup.VersionLoggerListenerrn一月 13, 2016 11:06:58 上午 org.apache.catalina.startup.Catalina startrn严重: Cannot start server. Server instance is not configured.rnrnrn不知道怎么回事,一直报错起不来

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试