我正在使用netBeans和glassFish Server 4.1.1
我得到这样的错误..
org.xml.sax.SAXParseException; lineNumber:12; columnNumber:7;元素类型“meta”必须由匹配的结束标记“”终止 . at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1750) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $ FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2970)at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java: 606)在com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)at at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)at at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)at at Org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:298)位于org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD的org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:351) TagLibraryInfoImpl.java:340)org.apache.jasper.compiler.TagLibraryInfoImpl . (TagLibraryInfoImpl.java:254)org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:502)at org位于org.apache.jarsper.compars.Parser.parse的org.apache.jasper.compiler.Parser.parseElements(Parser.java:1657)中的.apache.jasper.compiler.Parser.parseDirective(Parser.java:582)(Parser .java:185)atg.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)org.apache.jasper.compars.ParserController.parse(ParserController.java:145)atg.apache.jasper . 编译器.Compiler.generateJava(Compiler.java:212)org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)org.apache.jasper.JspC.processFile(JspC.java:1171)org位于org.netbeans.modules.web.project.ant的org.netbeans.modules.web.project.ant.JspC.main(JspC.java:101)的.apache.jasper.JspC.execute(JspC.java:1338) .jCSCSingle.main(JspCSingle.java:119)org.apache.jasper.JasperException:file:C:/Users/Queue/OneDrive/JspExE/build/web/WEB-INF/tlb.jsp(1,44)PWC6178:文件/WEB-INF/index.html上的XML解析错误:(第12行,第7行)org.apache.jasper.JasperException:C:/ Users / Queue / OneDrive / JspExE / build / web / WEB-INF / tlb .jsp(1,44)org.apache.jasper.JasperException:file:C:/Users/Queue/OneDrive/JspExE/build/web/WEB-INF/tlb.jsp(4,44)PWC6178:XML解析错误文件C:\ Users \ Queue \ OneDrive \ JspExE \ nbproject \ build-impl.xml:936:Java返回:1 BUILD FAILED(总时间:1秒)