异常:org.htmlparser.util.ParserException: Error in opening a connection to java.io.IOException: Inv...
来源:互联网 发布:安讯士网络摄像机 编辑:程序博客网 时间:2024/05/21 04:18
org.htmlparser.util.ParserException: Error in opening a connection to
java.io.IOException: Invalid argument
异常出现在:
Parser parser = new Parser(html);
解决办法:
新增creatParser()方法
private static Parser createParser(String html) {
Lexer mLexer = new Lexer(new Page(html));
return new Parser(mLexer,new DefaultParserFeedback(DefaultParserFeedback.QUIET));
}
上面的Parser parser = new Parser(html);
改为:Parser parser = createParser(html);
- 异常:org.htmlparser.util.ParserException: Error in opening a connection to java.io.IOException: Inv...
- org.htmlparser.util.ParserException: Error in opening a connection to ***
- HtmlParser Error in opening a connection to......
- Exception in thread "main" java.io.IOException: Error opening job jar: /apache_logs/cleaned.jar
- Jenkins插件安装异常:Jenkins java.util.zip.ZipException: error in opening zip file
- 出现 java.util.zip.ZipException: error in opening zip file 异常的原因及解决方法
- ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection ha
- 问题记录:hadoop集群提交job时出现Exception in thread "main" java.io.IOException: Error opening job jar:
- java.io.IOException: No error in nativeavailable
- java.util.zip.ZipException: error in opening zip file
- java.util.zip.ZipException: error in opening zip file
- java.util.zip.ZipException: error in opening zip file
- java.util.zip.ZipException: error in opening zip file
- java.util.zip.ZipException:error in opening zip file
- java.util.zip.ZipException: error in opening zip file
- java.util.zip.ZipException: error in opening zip file
- java.util.zip.ZipException: error in opening zip file
- java.util.zip.ZipException: error in opening zip file
- android测试之getevent/sendevent
- 线性代数导论17——正交矩阵和Gram-Schmidt正交化
- 正则表达式语法
- Xamarin
- 基础知识
- 异常:org.htmlparser.util.ParserException: Error in opening a connection to java.io.IOException: Inv...
- 今天正式开通博客了!
- ubuntu开发环境的搭建
- step-by-step guide for debugging native code,
- synaptic选择最快的源
- android avd 的一些问题
- ubuntu的man手册
- java之_数组(Collection)
- php操作MONGODB