异常:javax.xml.Stream.FactoryFinder$ConfigurationError:Provider com.sun.xml.Stream.ZephyrParserFactory
来源:互联网 发布:企业 java用什么软件 编辑:程序博客网 时间:2024/06/05 22:46
在一次项目开发时,遇到了一个问题,控制台报错:javax.xml.Stream.FactoryFinder$ConfigurationError:Provider com.sun.xml.Stream.ZephyrParserFactory not Found.
开始在网上找,没能找到明确的答案也没有解决问题。后面回想出现此问题的情景,开始项目是正常的没报这个错,后面在进行报表开发时,将项目中原来的一个jar文件替换了,后面就出这个错了,猜想问题应该出在这个新的jar文件上,于是又将旧的jar文件拿进来把新的jar去掉就不再报这个错了,这时已经可以确定是因为jar文件的问题了。
但为什么为报这个错呢?
后来考虑了这个问题,替换的jar是帆软报表的一个jar文件,叫fr-server.jar。这个文件比旧的要大不少。又去lib下查看每个jar,发现了javax.xml.Stream.FactoryFinder存在于javaee-api.jar下,个人理解是因为帆软报表提供的jar与项目引用的javaee-api.jar因为版本不一致而导致的冲突!
0 0
- 异常:javax.xml.Stream.FactoryFinder$ConfigurationError:Provider com.sun.xml.Stream.ZephyrParserFactory
- Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.ctc.wstx.stax.WstxInputFactory n
- Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.ctc.wstx.stax.WstxInputFactory n
- javax.xml.stream.xmlstreamexception
- javax.xml.stream.XMLStreamException
- Error 500: Provider com.bea.xml.stream.MXParserFactory not found
- Error 500: Provider com.bea.xml.stream.MXParserFactory not found
- (stax) javax.xml.stream 解析xml文件
- XML Handle by javax.xml.stream.*
- Exception in thread “main” javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory
- com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
- java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory incompatible with javax.xml.stream.
- 使用javax.xml.stream包的xml生成解析
- 异常 java.lang.IllegalArgumentException: Unable to access unsupported property javax.xml.stream.suppor
- java.lang.NoSuchMethodError: javax.xml.stream.XMLEventFactory.newFactory()Ljavax/xml/stream/XMLEvent
- javax.xml.stream.XMLStreamException: Prefix cannot be null
- POI操作EXCEL2007,报javax.xml.stream.XMLEventFactory.newFactory()错误!
- Weblogic10g部署web项目报错:com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputF
- MFC学习一
- ViewPager的使用方法
- 简易Linux服务器配置--Samba服务
- 新浪微博开发之三十(转发微博frame)
- js创建年日历
- 异常:javax.xml.Stream.FactoryFinder$ConfigurationError:Provider com.sun.xml.Stream.ZephyrParserFactory
- 为什么启动Activity都是写的super.onCreate
- Socket连接实例
- allegro问题总结
- you must restart adb and eclipse的相关解决办法
- Isomorphic Strings
- CSU1511(BFS)
- foj1605 Enjoy celebration
- 初步认识Java