Expand my Community achievements bar.

SOLVED

RSS Feed Issue in CQ 5.6

Avatar

Former Community Member

Hi,

I tried to feed data using RSSFeed and I faced the following issue.

Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found
    at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
    at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:178)
    at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
    at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
    at com.healthnet.idp.wsutils.RSSFeedParser.readFeed(RSSFeedParser.java:54)
    at org.apache.jsp.apps.HNFS_002dIDP.components.forms.rss.rss_jsp._jspService(rss_jsp.java:286)
    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:420)

I tried to resolved this by adding stax-1.2.0_rc2-dev jar into maven pom file , even i got the same error.

Could you please help anyone on this ?

 

Thanks in Advance.

 

Regards,

Suresh

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Level 10

Are you following an online document? Can you please specify so that community can try and reproduce your issue.  Are you using the Importer API  (com.day.cq.polling.importer.Importer API)?

Avatar

Correct answer by
Level 10

Here is a good community article to follow to use custom AEM importer: 

http://www.citytechinc.com/us/en/blog/2014/07/creating-a-custom-content-importer-for-AEM.html