java.io.IOException: Server returned HTTP response code: 500 for URL: http://loc
alhost:8080/sofpro/cms/pubstaticjspfile/zwgk/cms_0000000000000000069_tpl.jsp?req
uestCode=722
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1170)
        at com.ucap.cm.engine.distribute.QueueObjHandler.makeHtml(Unknown Source
)
        at com.ucap.cm.engine.distribute.QueueObjHandler.handleResourceObj(Unkno
wn Source)
        at com.ucap.cm.engine.distribute.QueueObjHandler.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
2008-11-17 11:08:06 WARN [CMS-DISTRIBUTION] [QuequeObjHandler.makeHtml()]-ioExp:
java.io.IOException: Server returned HTTP response code: 500 for URL: http://loc
alhost:8080/sofpro/cms/pubstaticjspfile/zwgk/cms_0000000000000000069_tpl.jsp?req
uestCode=722
2008-11-17 11:08:06 WARN [CMS-DISTRIBUTION] [QueueObjHandler.makeHtml()]-newFile
=d:/jakarta-tomcat-5.0.28/server/filesserver/publicfiles/business/htmlfiles//zwg
k/test/index.html
[CommonQueryDAO.parseUrlparamsOpen]-whereSQL:
2008-11-17 11:08:06 INFO [yuezt] InformationBean.java 获得站点site_code=========
=getUrlBySiteidAndCateid==site_code:::zwgk
2008-11-17 11:08:06 INFO [yuezt] InformationBean.java 获得栏目cate_code=========
=getUrlBySiteidAndCateid==cate_code:::test
java.io.IOException: Server returned HTTP response code: 500 for URL: http://loc
alhost:8080/sofpro/cms/pubstaticjspfile/zwgk/cms_0000000000000000069_tpl.jsp?req
uestCode=722
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1170)
        at com.ucap.cm.engine.distribute.QueueObjHandler.makeHtml(Unknown Source
)
        at com.ucap.cm.engine.distribute.QueueObjHandler.handleResourceObj(Unkno
wn Source)
        at com.ucap.cm.engine.distribute.QueueObjHandler.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
2008-11-17 11:08:06 WARN [CMS-DISTRIBUTION] [QuequeObjHandler.makeHtml()]-ioExp:
java.io.IOException: Server returned HTTP response code: 500 for URL: http://loc
alhost:8080/sofpro/cms/pubstaticjspfile/zwgk/cms_0000000000000000069_tpl.jsp?req
uestCode=722

解决方案 »

  1.   

    我遇到过,是jar包的问题!
      

  2.   

    哪几个jar包重了啊,我也是这问题,o(︶︿︶)o 唉
      

  3.   

          哪几个jar包啊
      

  4.   

    Method failed: HTTP/1.1 403 Forbidden
    org.htmlparser.util.ParserException: Server returned HTTP response code: 500 for URL: http://dl.acm.org/;
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://dl.acm.org/
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1298)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1292)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:946)
    at org.htmlparser.lexer.Page.setConnection(Page.java:347)
    at org.htmlparser.lexer.Page.<init>(Page.java:137)
    at org.htmlparser.lexer.Lexer.<init>(Lexer.java:117)
    at org.htmlparser.Parser.<init>(Parser.java:294)
    at org.htmlparser.Parser.<init>(Parser.java:309)
    at org.htmlparser.Parser.<init>(Parser.java:319)
    at HtmlParserTool.extracLinks(HtmlParserTool.java:21)
    at MyCrawler.crawling(MyCrawler.java:49)
    at MyCrawler.main(MyCrawler.java:61)
    Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://dl.acm.org/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2060)
    at java.net.URLConnection.getContentType(URLConnection.java:485)
    at org.htmlparser.lexer.Page.getContentType(Page.java:419)
    at org.htmlparser.lexer.Page.setConnection(Page.java:337)
    ... 8 more
    我也遇到这种情况了,不知楼主现在有解决的办法了没?