Am using eclipse and whenever I try importing the following:
import com.sun.org.apache.xml.internal.serialize.OutputFormat;
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
import com.sun.xml.internal.bind.util.AttributesImpl;
I always get an error message:
Access restriction: The type OutputFormat is not accessible due to restriction on required library C:\Program Files\Java\jre7\lib\rt.jar
How can I fix it?