首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

java.net.MalformedURLException: no protocol用WSDL2Java生成客户端代码异常

2014-01-26 
用AXIS开发WEB SERVICES,用WSDL2Java生成客户端代码报错:java.net.MalformedURLException: no protocol: ja

用AXIS开发WEB SERVICES,用WSDL2Java生成客户端代码报错:java.net.MalformedURLException: no protocol:

java.net.MalformedURLException: no protocol: FileSearch.wsdl
  at java.net.URL. <init> (URL.java:537)
  at java.net.URL. <init> (URL.java:434)
  at java.net.URL. <init> (URL.java:383)
  at gnu.xml.aelfred2.XmlParser.pushURL(XmlParser.java:3414)
  at gnu.xml.aelfred2.XmlParser.doParse(XmlParser.java:159)
  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 org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322)
  at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367)
  at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:384)
  at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
  at java.lang.Thread.run(Thread.java:534)

------解决方法--------------------------------------------------------
url写的不对

        

热点排行