This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
ClassLoader syscl = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); Class c = Class.forName("javax.xml.stream.XMLInputFactory", true, syscl); // O.K. - StAX classes available via system classloader c = XMLInputFactory.class; // java.lang.NoClassDefFoundError: javax/xml/stream/XMLInputFactory - // FAIL - not available via the module classloader
probably the same case as issue 125655
*** This issue has been marked as a duplicate of 125655 ***
vc