Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tommy38hk opened this issue Nov 20, 2021 · 0 comments
Open

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

tommy38hk opened this issue Nov 20, 2021 · 0 comments

Comments

@tommy38hk
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant