首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

Tomcat 没法启动。点击startup.bat,屏幕一闪,什么都没了.下面是log

2011-12-25 
Tomcat 无法启动。,点击startup.bat,屏幕一闪,什么都没了.下面是log2007-4-417:08:43org.apache.tomcat.uti

Tomcat 无法启动。,点击startup.bat,屏幕一闪,什么都没了.下面是log
2007-4-4   17:08:43   org.apache.tomcat.util.digester.Digester   fatalError
严重:   Parse   Fatal   Error   at   line   381   column   87:   Invalid   byte   1   of   1-byte   UTF-8   sequence.
org.xml.sax.SAXParseException:   Invalid   byte   1   of   1-byte   UTF-8   sequence.
at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at   com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at   com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1810)
at   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at   com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at   com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at   org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:524)
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:585)
at   org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007-4-4   17:08:43   org.apache.catalina.startup.Catalina   load
警告:   Catalina.start   using   conf/server.xml:  
org.xml.sax.SAXParseException:   Invalid   byte   1   of   1-byte   UTF-8   sequence.
at   com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
at   org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:524)
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:585)
at   org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007-4-4   17:08:43   org.apache.tomcat.util.digester.Digester   fatalError
严重:   Parse   Fatal   Error   at   line   381   column   87:   Invalid   byte   1   of   1-byte   UTF-8   sequence.
org.xml.sax.SAXParseException:   Invalid   byte   1   of   1-byte   UTF-8   sequence.
at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)


at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at   com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at   com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1810)
at   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at   com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at   com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at   org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:544)
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:585)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2007-4-4   17:08:43   org.apache.catalina.startup.Catalina   load
警告:   Catalina.start   using   conf/server.xml:  
org.xml.sax.SAXParseException:   Invalid   byte   1   of   1-byte   UTF-8   sequence.
at   com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
at   org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:544)
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:585)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2007-4-4   17:08:43   org.apache.catalina.startup.Catalina   start
信息:   Server   startup   in   0   ms


[解决办法]
你的server.xml配置文件有问题,解析时候出问题了,看看你的server.xml文件
[解决办法]
conf/server.xml 中有非法字符, 造成不能正确解析。
好好检查一下server.xml文件吧
[解决办法]
检查server.xml中是否有非法字符,如&,?等。

热点排行