URLConnection FileNotFoundException for non-standard HTTP port sources

后端 未结 8 964
野性不改
野性不改 2020-11-29 04:30

I was trying to use the Apache Ant Get task to get a list of WSDLs generated by another team in our company. They have them hosted on a weblogic 9.x server on http://....co

8条回答
  •  一向
    一向 (楼主)
    2020-11-29 05:17

    I know this is an old thread but just noticed something on this one so thought I will just put it out there.

    Like Jessica mentioned, this exception is thrown when using non-standard port.

    It only seems to happen when using DNS though. If I use IP number I can specify the port number and everything works fine.

提交回复
热议问题