无法启动tomcat 6.x
2009-6-30:15:28org.apache.tomcat.util.digester.DigesterfatalError严重:ParseFatalErrorat...
2009-6-3 0:15:28 org.apache.tomcat.util.digester.Digester fatalError
严重: Parse Fatal Error at line 144 column 7: Element type "k" must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseException: Element type "k" must be followed by either attribute specifications, ">" or "/>".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1400)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.seekCloseOfStartTag(XMLDocumentFragmentScannerImpl.java:1389)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1308)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2741)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)(字数限制,,只能发这么多
我写的代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>index.html</title>
</head>
<script type="text/javascript">
function showphoto(){
var pname=document.getElementById("photo").value;
alert(pname);
}
</script>
<body>
<select id = "photo" onchange = "showphoto()">
<option value="截图00.png">截图00<br></option>
<option value="截图01.png">截图01</option>
<option value="截图02.png">截图02</option>
<option value="截图03.png">截图03</option>
<option value="截图04.png">截图04</option>
<option value="截图05.png">截图05</option>
</select>
</body>
</html>
我知道有点长,,牺牲您宝贵时间,,衷心感谢 展开
严重: Parse Fatal Error at line 144 column 7: Element type "k" must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseException: Element type "k" must be followed by either attribute specifications, ">" or "/>".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1400)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.seekCloseOfStartTag(XMLDocumentFragmentScannerImpl.java:1389)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1308)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2741)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)(字数限制,,只能发这么多
我写的代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>index.html</title>
</head>
<script type="text/javascript">
function showphoto(){
var pname=document.getElementById("photo").value;
alert(pname);
}
</script>
<body>
<select id = "photo" onchange = "showphoto()">
<option value="截图00.png">截图00<br></option>
<option value="截图01.png">截图01</option>
<option value="截图02.png">截图02</option>
<option value="截图03.png">截图03</option>
<option value="截图04.png">截图04</option>
<option value="截图05.png">截图05</option>
</select>
</body>
</html>
我知道有点长,,牺牲您宝贵时间,,衷心感谢 展开
2个回答
展开全部
和你的网页没有乎颤虚关洞段系.是你的tomcat下其他工程的某个xml配置文件不正确了
org.apache.tomcat.util.digester.Digester fatalError
严重: Parse Fatal Error at line 144 column 7: Element type "k" must be followed by either attribute specifications, ">" or "/>".
说144行的第七列 K元素后要跟>或者/> 估计是哪个文岁燃件里的<k><k/>少了半拉尖括号
org.apache.tomcat.util.digester.Digester fatalError
严重: Parse Fatal Error at line 144 column 7: Element type "k" must be followed by either attribute specifications, ">" or "/>".
说144行的第七列 K元素后要跟>或者/> 估计是哪个文岁燃件里的<k><k/>少了半拉尖括号
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询