com.atlassw.tools.eclipse.checkstyle.util.CheckstylePluginException: Failed to write checkstyle plugin configuration file:\ngnu.xml.transform.TransformerFactoryImpl cannot be cast to javax.xml.transform.sax.SAXTransformerFactory

eclipse-cs | martin_cy | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error trying to use checkstyle firs time.

    eclipse-cs | 1 decade ago | martin_cy
    com.atlassw.tools.eclipse.checkstyle.util.CheckstylePluginException: Failed to write checkstyle plugin configuration file:\ngnu.xml.transform.TransformerFactoryImpl cannot be cast to javax.xml.transform.sax.SAXTransformerFactory

    Root Cause Analysis

    1. java.lang.ClassCastException

      gnu.xml.transform.TransformerFactoryImpl cannot be cast to javax.xml.transform.sax.SAXTransformerFactory

      at com.atlassw.tools.eclipse.checkstyle.util.XMLUtil.writeWithSax()
    2. com.atlassw.tools
      ProjectConfigurationWorkingCopy.storeToPersistence
      1. com.atlassw.tools.eclipse.checkstyle.util.XMLUtil.writeWithSax(XMLUtil.java:394)
      2. com.atlassw.tools.eclipse.checkstyle.projectconfig.ProjectConfigurationWorkingCopy.storeToPersistence(ProjectConfigurationWorkingCopy.java:405)
      2 frames