Hello guys,
I'm having trouble compiling the generated classes. The ant output is as
follows. I'm attaching herewith the generated java file 'causing the
problem (jaxb_test.impl.FaultcodeImpl) and related interfaces that were
generated.
compile:
[echo] compiling the java source files...
[javac] Compiling 68 source files to E:\jaxb_out
[javac] E:\jaxb_test\impl\FaultcodeImpl.java:48: cannot resolve
symbol
[javac] symbol : method getPrefix ()
[javac] location: class javax.xml.namespace.QName
[javac]
context.getNamespaceContext().declareNamespace(_Value.getNamespaceURI(),
_Value.getPrefix(), false);
[javac]
^
[javac] E:\jaxb_test\impl\FaultcodeImpl.java:81: cannot resolve
symbol
[javac] symbol : method getPrefix ()
[javac] location: class javax.xml.namespace.QName
[javac]
context.getNamespaceContext().declareNamespace(_Value.getNamespaceURI(),
_Value.getPrefix(), false);
.
.
.
Apparently, the generated class makes a reference to the non-existent
getPrefix() method of class javax.xml.namespace.QName. The same problem
is occurring for a few other classes as well.
I looked up the archives but didn't find anything. So it seems I may be
making a very basic mistake that no body has ever made before :-).
Any clues, anyone ??
Amit Bhatnagar
Member - Engineering
----------------------------------------------------
Mobile: +91 98452 08780
Board: +91 80 5110 JULY Ext. 1128
Fax: +91 80 5110 1210
JULY SYSTEMS
Headquarters: 3945 Freedom Circle, Suite 910, Santa Clara, CA 95054
Global Technology Center: #6, 80 Ft Rd, Koramangala, Bangalore 560 095
INDIA
http://www.julysystems.com/
************************************************************************
********************************
This email message is for the sole use of the intended recipient/s and
may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original document.
************************************************************************
*******************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net