Error with using the DocumentBuilderFactory when creating a plugin

I keep running into an issue with the DocumentBuilderFactory when creating a custom smart service plug-in.

The issue has to do with the appian-suiteapi.jar

Without the .jar file, my code is able to run successfully. When I add the appian-suiteapi.jar, I start getting the error below.

Does anyone have experience dealing with this issue? Is there another .jar I should be including to avoid this issue?

Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
          at javax.xml.parsers.FactoryFinder.findServiceProvider(Unknown Source)
          at javax.xml.parsers.FactoryFinder.find(Unknown Source)
          at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
..
..
Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactor...

OriginalPostID-241401

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data