Thank You Keith. It works.
Best Regards
Kishore

-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2003 1:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] problem with RESyntaxException



Hi Kishore,

You are trying to use a schema, which defines a pattern (regular
expression). So Castor is trying to load the configured Regular Expression
library, but you don't have one in your class path. Please add the Jakarta
RegExp library (or you can use another RegExp library then configure the
castor.properties file) to your class path.

--Keith

"Pattaswamy, Jayakishore X" wrote:
> 
> Hi,
>    I got the following error while sending a one kind of xml request 
> to the generated classes. But it is working fine for another kind of 
> request.(working fine for the elements defined locally. got the 
> following error while for elements defined and imported into our xsd. 
> All xsds were used for SourceGen.). I did not use any mapping-file. Is 
> it mandatory to use mapping-file in this scenario? Can anyone help me 
> in tracking this. Thank You. Regards
> Kishore
> 
> ----------------------------------------------------------------------
> ------
> ----------------------------
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/regexp/RESyntaxException
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:140)
>         at
>
org.exolab.castor.util.LocalConfiguration.getRegExpEvaluator(LocalConfigurat
> ion.java:393)
>         at
>
org.exolab.castor.xml.validators.PatternValidator.initEvaluator(PatternValid
> ator.java:164)
>         at
>
org.exolab.castor.xml.validators.PatternValidator.validate(PatternValidator.
> java:135)
>         at
>
org.exolab.castor.xml.validators.StringValidator.validate(StringValidator.ja
> va:257)
>         at
>
org.exolab.castor.xml.validators.StringValidator.validate(StringValidator.ja
> va:291)
>         at
> org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:248
> )
>         at
>
org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescripto
> rImpl.java:885)
>         at
>
org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescripto
> rImpl.java:753)
>         at org.exolab.castor.xml.Validator.validate(Validator.java:122)
>         at
> org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:250
> )
>         at
>
org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescripto
> rImpl.java:885)
>         at org.exolab.castor.xml.Validator.validate(Validator.java:122)
>         at
> org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:250
> )
>         at
>
org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescripto
> rImpl.java:885)
>         at org.exolab.castor.xml.Validator.validate(Validator.java:122)
>         at
>
org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:709)
>         at
> org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1392)
>         at
>
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator
> .java:1436)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
> LDocumentScanner.java:1205)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
> java:381)
>         at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
>         at
> org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:555)
>         at
> org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:487)
>         at
> org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:627)
>         at
>
generate.QservQualificationRequest.unmarshal(QservQualificationRequest.java:
> 425)
>         at test.<init>(test.java:29)
>         at test.main(test.java:55)
>
----------------------------------------------------------------------------
> ----------------
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to 
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to