您的位置:首页 > Web前端

java.io.BufferedInputStream cannot be cast to org.omg.CORBA.portable.InputStream

2018-01-27 17:02 1796 查看
在开发中出现  错误 java.io.BufferedInputStream cannot be cast to org.omg.CORBA.portable.InputStream

java中有两个包都包含InputStream,而在使用IDE工具时可能会默认把org.omg.CORBA.portable.InputStream这个包放在前面的。

解决方法:1 手动把org.omg.CORBA.portable.InputStream包换成 java.io.InputStream

          或者 2 在使用IDE自动补全时向下选择 java.io.InputStream中的InputStream
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  inputstream错误
相关文章推荐