F
frank
I'm using JAXB/xjc to generate code to access my schema. It created a
package-info.java file along with other files. Everything compiles fine
except for the package-info.java file it gives me an error of "package
annotations should be in file package-info.java at line 8 (8:1)"
file looks like this:
@javax.xml.bind.annotation.XmlSchema(namespace =
"urn:us:gov:dod:army:cerdec:jbfsa:csds:r1", elementFormDefault =
javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package csds.message;
it is in a file called packag-info.java, why will it not compile?
Thanks,
Frank
package-info.java file along with other files. Everything compiles fine
except for the package-info.java file it gives me an error of "package
annotations should be in file package-info.java at line 8 (8:1)"
file looks like this:
@javax.xml.bind.annotation.XmlSchema(namespace =
"urn:us:gov:dod:army:cerdec:jbfsa:csds:r1", elementFormDefault =
javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package csds.message;
it is in a file called packag-info.java, why will it not compile?
Thanks,
Frank