package org.apache.xml.serialize does not exist error
Trying to convert json to xml and trying to indent the xml So used below library but
package org.apache.xml.serialize does not exist getting this error though I added dependency in pom
Trying to convert json to xml and trying to indent the xml So used below library but
package org.apache.xml.serialize does not exist getting this error though I added dependency in pom
You might be getting this error because "xercesImpl" jar/library is not available OOTB in AEM bundles.
In that case, you need to embed this dependency as part of your core module as external dependency.
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<!-- <Embed-Dependency> artifactId1, artifactId2;inline=true </Embed-Dependency> -->
<Embed-Dependency>xercesImpl</Embed-Dependency>
Note: You may have to embed other dependencies which are needed for "xercesImpl" as well.
Try this out.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.