When I try to import the org.apache.xml.serialize.XMLSerializer file, I got the following msg error:
The import org.apache.xml.serialize.XMLSerializer cannot be resolved
Can someone tell me the reason? Thanks!!
You are missing xercesImpl-2.9.0.jar from your build path. If you are using Maven, you can add a dependency:
<dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.9.0</version> </dependency>