Skip to content

NoClassDefFoundError thrown in QuarkusCxfProcessor generateClasses() during build. #1302

Answered by ppalaga
Yaroon asked this question in Q&A
Discussion options

You must be logged in to vote

I would say wsdl2java is generating the classes in the way it is instructed to, or better: in the way it usually transforms namespaces to class names.

I think the problem is that some classes are generated under java Java package, which is reserved for JRE classes. IIRC no classloader is allowed to load classes from java.* packages except for Bootstrap Class Loader. And that one in turn will not load any classes from user jars. Hence the class is not visible to any class loader.

You may want to try to map your peculiar namespace uri to a different Java package using quarkus.cxf.codegen.wsdl2java.package-names:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ppalaga
Comment options

Answer selected by Yaroon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants