开发者社区> 问答> 正文

WebCollector提示报错?报错

@CrawlScript 你好,想跟你请教个问题:

 int status=(int)page_record.get("status"); 

这里提示报错,

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
Cannot cast from Object to int

请回复一下,很重要,谢谢。





展开
收起
爱吃鱼的程序员 2020-06-15 19:23:23 423 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    这个可能是你工程导入问题吧。这个机制已经在新版本里改了。新版本应该不会出现这个问题的。加群250108697找我私聊吧。我看一下你具体什么情况。<spanstyle="color:#FFFFFF;font-family:微软雅黑,Tahoma,宋体;font-size:14px;font-style:normal;font-weight:normal;line-height:29px;">669250108697<spanstyle="color:#FFFFFF;font-family:微软雅黑,Tahoma,宋体;font-size:14px;font-style:normal;font-weight:normal;line-height:29px;">250108697<spanstyle="color:#FFFFFF;font-family:微软雅黑,Tahoma,宋体;font-size:14px;font-style:normal;font-weight:normal;line-height:29px;">250108697<spanstyle="color:#FFFFFF;font-family:微软雅黑,Tahoma,宋体;font-size:14px;font-style:normal;font-weight:normal;line-height:29px;">250108697<spanstyle="color:#FFFFFF;font-family:微软雅黑,Tahoma,宋体;font-size:14px;font-style:normal;font-weight:normal;line-height:29px;">250108697

    2020-06-15 19:23:41
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载