zoukankan      html  css  js  c++  java
  • org.dom4j.DocumentException: null Nested exception: null

    1、错误描述

    org.dom4j.DocumentException: null Nested exception: null
    	at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    	at org.dom4j.io.SAXReader.read(SAXReader.java:343)
    	at com.you.dom.utils.Reader.main(Reader.java:50)
    Nested exception: 
    java.net.MalformedURLException
    	at java.net.URL.<init>(URL.java:619)
    	at java.net.URL.<init>(URL.java:482)
    	at java.net.URL.<init>(URL.java:431)
    	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:610)
    	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
    	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.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)
    	at org.dom4j.io.SAXReader.read(SAXReader.java:465)
    	at org.dom4j.io.SAXReader.read(SAXReader.java:343)
    	at com.you.dom.utils.Reader.main(Reader.java:50)
    Caused by: java.lang.NullPointerException
    	at java.net.URL.<init>(URL.java:524)
    	... 12 more
    Nested exception: java.net.MalformedURLException
    	at java.net.URL.<init>(URL.java:619)
    	at java.net.URL.<init>(URL.java:482)
    	at java.net.URL.<init>(URL.java:431)
    	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:610)
    	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
    	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.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)
    	at org.dom4j.io.SAXReader.read(SAXReader.java:465)
    	at org.dom4j.io.SAXReader.read(SAXReader.java:343)
    	at com.you.dom.utils.Reader.main(Reader.java:50)
    Caused by: java.lang.NullPointerException
    	at java.net.URL.<init>(URL.java:524)
    	... 12 more
    

    2、错误原因


    3、解决办法

  • 相关阅读:
    RabbitMQ(四)
    RabbitMQ(三)
    RabbitMQ(二)
    定位
    响应式布局
    学习前端的一些心得
    css样式大全
    常用标签
    HTML
    app 被拒绝原因
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13314274.html
Copyright © 2011-2022 走看看