无法解析类型javax.xml.stream.XMLStreamReader [英] The type javax.xml.stream.XMLStreamReader cannot be resolved

查看:389
本文介绍了无法解析类型javax.xml.stream.XMLStreamReader的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法解析类型javax.xml.stream.XMLStreamReader.它从所需的.class文件中间接引用.一行出现此错误.我缺少哪个jar?

The type javax.xml.stream.XMLStreamReader cannot be resolved. It is indirectly referenced from required .class files.Im getting this error in a line.Which jar am i missing?

推荐答案

javax.xml.stream.XMLStreamReader 在Java SE 6和更高版本上可用:在Android平台上不可用.您必须使用依赖于该类的库,但这不是平台的标准部分. https://www.findjar.com/class/javax/xml/stream/XMLStreamReader.html 列出了可能包含的jar文件,但不能保证您能够成功合并它们.

javax.xml.stream.XMLStreamReader is available on Java SE 6 and higher: not on the Android platform. You must be using a library that depends on that class, but it isn't a standard part of the platform. https://www.findjar.com/class/javax/xml/stream/XMLStreamReader.html has a list of jar files that may have it, but no guarantees you'll be able to successfully incorporate them.

这篇关于无法解析类型javax.xml.stream.XMLStreamReader的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆