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 | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error trying to use checkstyle firs time.

    eclipse-cs | 10 years 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