tomcat启动不了是什么原因?

03-03-13 dxxfire

键入startup后,启动窗口一闪就关闭了,无法启动。查了一下使用CATALINA RUN命令的话,在本DOS窗口出了一大对错误,请帮忙解决一下啊!

错误如下:

G:\XJ-web\tomcat\bin>catalina run

Using CLASSPATH: ..\bin\bootstrap.jar;E:\j2sdk1.4.0_01\lib\tools.jar

PARSE error at line 45 column -1 of G:\XJ-web\tomcat\bin\..\conf\server.xml

org.xml.sax.SAXParseException: org.apache.crimson.parser/P-008 > org.apache.crim

son.parser/F-022

Catalina.start: org.xml.sax.SAXParseException: org.apache.crimson.parser/P-008 >

org.apache.crimson.parser/F-022

org.xml.sax.SAXParseException: org.apache.crimson.parser/P-008 > org.apache.crim

son.parser/F-022

at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3030)

at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3024)

at org.apache.crimson.parser.Parser2.nextChar(Parser2.java:2946)

at org.apache.crimson.parser.Parser2.maybeComment(Parser2.java:901)

at org.apache.crimson.parser.Parser2.content(Parser2.java:1704)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1461)

at org.apache.crimson.parser.Parser2.content(Parser2.java:1695)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1461)

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)

at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:300)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:245)

at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)

at org.apache.catalina.startup.Catalina.start(Catalina.java:625)

at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)

at org.apache.catalina.startup.Catalina.process(Catalina.java:176)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:157)

G:\XJ-web\tomcat\bin>

iyshang
2003-03-14 22:07

是不是环境 变量的 设置问题。

java_home 一定要设置。

ddeyo
2009-12-03 15:00

我也遇到这个问题了,请问得到解决了吗,我的邮箱:ddeyo@163.com,得到解决了的话,帮我说一下啊。......