You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to generate xsd out of java objects that are annotated with jaxb annotations. When executing the schemagen its generating xsd but it doesnt rename it and no namespace exists. During maven install execution, I see an warning from the plugin
[INFO] XSD post-processing: Renaming and converting XSDs.
[WARNING] SimpleNamespaceResolver contained no localNamespaceURI; aborting rename.
while debugging the jaxb2-maven plugin code, its trying to search namespace in the generated xml and I don't see that either. So namespace given in java classes are not translating to XSDs. Here is pom.xml and java classes and generated xsds for reference
I am trying to generate xsd out of java objects that are annotated with jaxb annotations. When executing the schemagen its generating xsd but it doesnt rename it and no namespace exists. During maven install execution, I see an warning from the plugin
while debugging the jaxb2-maven plugin code, its trying to search namespace in the generated xml and I don't see that either. So namespace given in java classes are not translating to XSDs. Here is pom.xml and java classes and generated xsds for reference
pom.xml
generated xsd with schema1.xsd name
package-info.java class
java classes with annotations
The text was updated successfully, but these errors were encountered: