Java.net. malformedurlexception: No Protocol: The mvc-config.dtd reports an error!

Source: Internet
Author: User

The error is as follows:

Java.net. malformedurlexception: no protocol: mvc-config.dtd
At java.net. url. <init> (unknown source)
At java.net. url. <init> (unknown source)
At java.net. url. <init> (unknown source)
At GNU. xml. aelfred2.saxdriver. absolutize (saxdriver. Java: 608)
At GNU. xml. aelfred2.saxdriver. resolveentity (saxdriver. Java: 585)
At GNU. xml. aelfred2.xmlparser. pushurl (xmlparser. Java: 3336)
At GNU. xml. aelfred2.xmlparser. parsedoctypedecl (xmlparser. Java: 845)
At GNU. xml. aelfred2.xmlparser. parseprolog (xmlparser. Java: 522)
At GNU. xml. aelfred2.xmlparser. parsedocument (xmlparser. Java: 414)
At GNU. xml. aelfred2.xmlparser. doparse (xmlparser. Java: 167)
At GNU. xml. aelfred2.saxdriver. parse (saxdriver. Java: 320)
At GNU. xml. aelfred2.xmlreader. parse (xmlreader. Java: 294)
At GNU. xml. Dom. jaxpfactory $ jaxpbuilder. parse (jaxpfactory. Java: 186)
At javax. xml. parsers. documentbuilder. parse (unknown source)
At cn.com. csuinfo. MVC. util. parseconfigfile. getconfigdocument (parseconfigfile. Java: 35)
At cn.com. csuinfo. MVC. util. parseconfigfile. parseconfigxml (parseconfigfile. Java: 48)
At cn.com. csuinfo. MVC. Control. actionservlet. INIT (actionservlet. Java: 47)
At javax. servlet. genericservlet. INIT (genericservlet. Java: 212)
At org. Apache. Catalina. Core. standardwrapper. loadservlet (standardwrapper. Java: 1161)
At org. Apache. Catalina. Core. standardwrapper. Load (standardwrapper. Java: 981)
At org. Apache. Catalina. Core. standardcontext. loadonstartup (standardcontext. Java: 4045)
At org. Apache. Catalina. Core. standardcontext. Start (standardcontext. Java: 4351)
At org. Apache. Catalina. Core. containerbase. addchildinternal (containerbase. Java: 791)
At org. Apache. Catalina. Core. containerbase. addchild (containerbase. Java: 771)
At org. Apache. Catalina. Core. standardhost. addchild (standardhost. Java: 525)
At org. Apache. Catalina. startup. hostconfig. deploydirectory (hostconfig. Java: 920)
At org. Apache. Catalina. startup. hostconfig. deploydirectories (hostconfig. Java: 883)
At org. Apache. Catalina. startup. hostconfig. deployapps (hostconfig. Java: 492)
At org. Apache. Catalina. startup. hostconfig. Start (hostconfig. Java: 1138)
At org. Apache. Catalina. startup. hostconfig. lifecycleevent (hostconfig. Java: 311)
At org. Apache. Catalina. util. lifecyclesupport. firelifecycleevent (lifecyclesupport. Java: 117)
At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1053)
At org. Apache. Catalina. Core. standardhost. Start (standardhost. Java: 719)
At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1045)
At org. Apache. Catalina. Core. standardengine. Start (standardengine. Java: 443)
At org. Apache. Catalina. Core. standardservice. Start (standardservice. Java: 516)
At org. Apache. Catalina. Core. standardserver. Start (standardserver. Java: 710)
At org. Apache. Catalina. startup. Catalina. Start (Catalina. Java: 566)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (unknown source)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (unknown source)
At java. Lang. Reflect. method. Invoke (unknown source)
At org. Apache. Catalina. startup. Bootstrap. Start (Bootstrap. Java: 288)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 413)

 

 

It seems that XML cannot be parsed.

But I had no problem with parsing it!
After three jfreechart packages are added, an error is reported!

Is the encoding different ??
How can we change this ???

...

..

.

It is true that gnujaxp. jar in jfreechart conflicts with some packages.

In fact, the deletion of gnujaxp. jar does not affect the jfreechart generation!

Write this error that has plagued you for a long time and share it with you ~~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.