users@jaxb.java.net

problem compiling the xjc generated interface and classes

From: Amit Misra <amisra_at_SWRI.ORG>
Date: Tue, 22 Apr 2003 14:01:30 -0600

I ran the xjc binding compiler and there were no problems. Afterwards I tried to compile the generated classes and got the following errors below. What jar file am I missing that I need to add to my classpath. Thanks for your help..


c:\gov\its\dms\xmlinterface\schemas\bindings\lampStatus\jaxb\impl\LampStatusImpl
.java:16: package com.sun.msv.grammar does not exist
    private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xm
l.bind.validator.SchemaDeserializer.deserialize("\u00ac\u00ed\u0000\u0005sr\u000
0\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u
0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/
NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u
0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL
\u0000\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.su
n.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u0
00ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean
;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xp\u0003\u00a1\u00f4\u00fapp\u0000s
r\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000
\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u0000\
u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0
000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004\u0003
\u00a1\u00f4\u00efppsq\u0000~\u0000\u0007\u0003\u001cZgppsq\u0000~\u0000\u0007\u
0002\u0096\u00bf\u00dfppsq\u0000~\u0000\u0007\u00023\u00dd*ppsq\u0000~\u0000\u00
07\u0001\u00d0\u00fauppsq\u0000~\u0000\u0007\u0001K_\u00edppsq\u0000~\u0000\u000
7\u0000\u00c5\u00c5eppsq\u0000~\u0000\u0000\u0000b\u00e2\u00b0pp\u0000sr\u0000\u
001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\
u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0
000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/ut
il/StringPair;xq\u0000~\u0000\u0004\u0000b\u00e2\u00a5ppsr\u0000 com.sun.msv.dat
atype.xsd.IntType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0
000xr\u0000+com.sun.msv.datatype.xsd.IntegerDerivedType\u0099\u00f1]\u0090&6k\u0
0be\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u
0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.d
atatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u
0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0
000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012L
java/lang/String;L\u0000\btypeNameq\u0000~\u0000\u001aL\u0000\nwhiteSpacet\u0000
.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/
XMLSchemat\u0000\u0003intsr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$2
\u0087z9\u00ee\u00f8,N\u0005\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.
WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\
u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u00
00\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004\u0000\u0
000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008
d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001aL\u0000\fnamespac
eURIq\u0000~\u0000\u001axpq\u0000~\u0000\u001eq\u0000~\u0000\u001dsr\u0000#com.s
un.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u
0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001aL\u0000\fnamespaceURIq\u00
00~\u0000\u001axr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u00
00\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u001dnumPrimaryLampsInStuc
kOnArrayt\u0000\u0000sq\u0000~\u0000\u0000\u0000b\u00e2\u00b0pp\u0000q\u0000~\u0
000\u0014sq\u0000~\u0000&t\u0000\u001enumPrimaryLampsInStuckOffArrayq\u0000~\u00
00*sq\u0000~\u0000\u0000\u0000\u0085\u009a\u0083pp\u0000sq\u0000~\u0000\u0011\u0
000\u0085\u009axppsr\u0000&com.sun.msv.datatype.xsd.HexBinaryType\u0000\u0000\u0
000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatyp
e.xsd.BinaryBaseType\u00a7\u00ce\u000e\u0097^\u00afW\u0011\u0002\u0000\u0000xq\u
0000~\u0000\u0017q\u0000~\u0000\u001dt\u0000\thexBinaryq\u0000~\u0000!q\u0000~\u
0000#sq\u0000~\u0000$q\u0000~\u00003q\u0000~\u0000\u001dsq\u0000~\u0000&t\u0000\
u0018primaryStuckOnLampStatusq\u0000~\u0000*sq\u0000~\u0000\u0000\u0000\u0085\u0
09a\u0083pp\u0000q\u0000~\u0000/sq\u0000~\u0000&t\u0000\u0019primaryStuckOffLamp
Statusq\u0000~\u0000*sq\u0000~\u0000\u0000\u0000b\u00e2\u00b0pp\u0000q\u0000~\u0
000\u0014sq\u0000~\u0000&t\u0000\u001cnumBackupLampsInStuckOnArrayq\u0000~\u0000
*sq\u0000~\u0000\u0000\u0000b\u00e2\u00b0pp\u0000q\u0000~\u0000\u0014sq\u0000~\u
0000&t\u0000\u001dnumBackupLampsInStuckOffArrayq\u0000~\u0000*sq\u0000~\u0000\u0
000\u0000\u0085\u009a\u0083pp\u0000q\u0000~\u0000/sq\u0000~\u0000&t\u0000\u0017b
ackupStuckOnLampStatusq\u0000~\u0000*sq\u0000~\u0000\u0000\u0000\u0085\u009a\u00
83pp\u0000q\u0000~\u0000/sq\u0000~\u0000&t\u0000\u0018backupStuckOffLampStatusq\
u0000~\u0000*sq\u0000~\u0000&t\u0000\nlampStatusq\u0000~\u0000*sr\u0000\"com.sun
.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u000
2\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Closed
Hash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00e
f\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000
\u0006parentq\u0000~\u0000I[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expre
ssion;xp\u0000\u0000\u0000\u0007\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.gramm
ar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u000
0\u00bfppppq\u0000~\u0000\npppppppppppppppppppppppppq\u0000~\u0000\tpppppppppppp
q\u0000~\u0000\fppppppppppppq\u0000~\u0000\u000fpppppppppppppppppppppppppq\u0000
~\u0000\u000epppppppppppppppppppppppppq\u0000~\u0000\rpppppppppppppppppppppppppp
ppppppppppppppppppppppppppppppppppq\u0000~\u0000\u000bppppppppppppppppppppp");
                                            ^
c:\gov\its\dms\xmlinterface\schemas\bindings\lampStatus\jaxb\impl\LampStatusImpl
.java:62: package com.sun.msv.verifier does not exist
    public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
                               ^
c:\gov\its\dms\xmlinterface\schemas\bindings\lampStatus\jaxb\impl\LampStatusType
Impl.java:130: package com.sun.msv.datatype.xsd does not exist
            context.text(com.sun.msv.datatype.xsd.HexBinaryType.save(((byte[]) _
PrimaryStuckOnLampStatus)));
                                                 ^
c:\gov\its\dms\xmlinterface\schemas\bindings\lampStatus\jaxb\impl\LampStatusType
Impl.java:138: package com.sun.msv.datatype.xsd does not exist
            context.text(com.sun.msv.datatype.xsd.HexBinaryType.save(((byte[]) _
PrimaryStuckOffLampStatus)));
                                                 ^
c:\gov\its\dms\xmlinterface\schemas\bindings\lampStatus\jaxb\impl\LampStatusType
Impl.java:162: package com.sun.msv.datatype.xsd does not exist
            context.text(com.sun.msv.datatype.xsd.HexBinaryType.save(((byte[]) _
BackupStuckOnLampStatus)));
                                                 ^
c:\gov\its\dms\xmlinterface\schemas\bindings\lampStatus\jaxb\impl\LampStatusType
Impl.java:170: package com.sun.msv.datatype.xsd does not exist
            context.text(com.sun.msv.datatype.xsd.HexBinaryType.save(((byte[]) _
BackupStuckOffLampStatus)));
                                                 ^
c:\gov\its\dms\xmlinterface\schemas\bindings\lampStatus\jaxb\impl\LampStatusType
Impl.java:192: package com.sun.msv.verifier.regexp does not exist
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragm