Open tommy38hk opened 2 years ago
When trying to execute a method in a jar which internally it calls to com.ctc.wstx.stax.WstxInputFactory. JCL throws the following exception
javax.xml.stream.FactoryConfigurationError: Provider com.ctc.wstx.stax.WstxInputFactory not found
I have call to JarClassLoader to load all the jars in a folder
JarClassLoader jc = new JarClassLoader(); jc.add("C:\test\lib\") ;
and woodstox-core-asl.jar is in that folder.
What did I do wrong?
When trying to execute a method in a jar which internally it calls to com.ctc.wstx.stax.WstxInputFactory. JCL throws the following exception
javax.xml.stream.FactoryConfigurationError: Provider com.ctc.wstx.stax.WstxInputFactory not found
I have call to JarClassLoader to load all the jars in a folder
JarClassLoader jc = new JarClassLoader(); jc.add("C:\test\lib\") ;
and woodstox-core-asl.jar is in that folder.
What did I do wrong?