Skip to content

Cannot load com.ctc.wstx.stax.WstxInputFactory  #76

@tommy38hk

Description

@tommy38hk

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions