This content has been marked as final.
Show 2 replies
-
1. Re: NoClassDefFoundError error for OpenJDK class in WildFly 16
lafr Jul 26, 2019 1:58 PM (in response to valsaraj007)Not all classes from rt.jar are made available. You'll have to make it available to your app with jboss-deployment-structure.xml.
<?xml version="1.0" encoding="UTF-8"?> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1"> <deployment> <dependencies> <system export="true"> <paths> <path name="org/w3c/dom/css"/> </paths> </system> </dependencies> </deployment> </jboss-deployment-structure>
-
2. Re: NoClassDefFoundError error for OpenJDK class in WildFly 16
valsaraj007 Jul 30, 2019 8:25 AM (in response to lafr)It worked fine without this explicit export, in WildFly-10.1. Is this any bug in WF 16?