Woodstox loading error in wildfly

51 views
Skip to first unread message

sneha.p...@aptos.com

unread,
May 29, 2019, 5:23:38 AM5/29/19
to Woodstox User Mailing List
Getting below error while parsing xml using woodstox in wildfly:

Caused by: java.lang.ClassNotFoundException: com.sun.msv.reader.GrammarReaderController from [Module "org.codehaus.woodstox" version 5.0.3 from local module loader @4de5031f (finder: local module finder @67e2d983 (roots: C:\usr\local\wildfly-14.0.1.Final\modules,C:\usr\local\wildfly-14.0.1.Final\modules\system\layers\base))]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255) [jboss-modules.jar:1.8.6.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410) [jboss-modules.jar:1.8.6.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.8.6.Final]
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) [jboss-modules.jar:1.8.6.Final]
        ... 18 more

2019-05-29 14:50:21.880 INFO  [org.springframework.security.config.http.Fi

Tatu Saloranta

unread,
May 29, 2019, 4:09:28 PM5/29/19
to sneha.p...@aptos.com, Woodstox User Mailing List
That sounds like some problem with repackaged Woodstox, Java 9+ module system?
(this based on line 'Module "org.codehaus.woodstox" ' -- such id is not defined by Woodstox 5.x anywhere, Maven group id is `com.fasterxml.woodstox2).

So it is probably something that JBoss folks may need to help with.

I'd also be happy to get help in figuring out module info stuff: it can be built and baked in from JDK 8 with Moditect (maven plugin), but there are some tricky issue with a few deps Woodstox has to MSV (multi-schema validator) used for optional XML Schema / RelaxNG validation.

-+ Tatu +-
 
Reply all
Reply to author
Forward
0 new messages