Hi,
 
I am having problems using the 1.1.2.1 version of castor. I googled the
method not found error and saw your email to user about backward
compatibility. However, I did not understand it. I am using only 1.1.2.1
castor. What backward compatibility is involved?  What is the fix on my
part?
 
Thank you for any help you can give me. It is much appreciated.
 
Thanks,
John Hoebel
 
 
 
--------------------------------------------
error
 
$ ./runcastor.bsh
PATH = /cygdrive/c/opt/java/jdk1.3.1_15/bin
cp =
c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-codegen.jar;c:/opt/castor/ca
sto
r-1.1.2.1/castor-1.1.2.1-xml.jar;c:/opt/castor/castor-1.1.2.1/castor-1.1
.2.1.jar
;c:/opt/castor/castor-1.1.2.1/jdbc-se2.0.jar;c:/opt/castor/castor-1.1.2.
1/jta1.0
.1.jar;c:/opt/castor/castor-1.1.2.1/xercesImpl.jar;c:/opt/castor/castor-
1.1.2.1/
xml-apis.jar;c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-commons.jar
Exception in thread "main" java.lang.NoSuchMethodError
        at
org.exolab.castor.xml.util.XMLClassDescriptorResolverImpl.loadDescrip
torClass(XMLClassDescriptorResolverImpl.java:421)
        at
org.exolab.castor.xml.util.XMLClassDescriptorResolverImpl.getDescript
or(XMLClassDescriptorResolverImpl.java:515)
        at
org.exolab.castor.xml.util.XMLClassDescriptorResolverImpl.resolve(XML
ClassDescriptorResolverImpl.java:214)
        at
org.exolab.castor.xml.MarshalFramework.searchInheritance(MarshalFrame
work.java:404)
        at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.
java:1794)
        at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.
java:1353)
        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
 
 
 
 
--------------------------------------------
script:
 
PATH=/cygdrive/c/opt/java/jdk1.3.1_15/bin
export PATH
echo "PATH = $PATH"
 
#c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-anttasks.jar;\
#c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-ddlgen.jar;\
#c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-jdo.jar;\
#c:/opt/castor/castor-1.1.2.1/commons-logging-1.1.jar;\
 
cp="\
c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-codegen.jar;\
c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-xml.jar;\
c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1.jar;\
c:/opt/castor/castor-1.1.2.1/jdbc-se2.0.jar;\
c:/opt/castor/castor-1.1.2.1/jta1.0.1.jar;\
c:/opt/castor/castor-1.1.2.1/xercesImpl.jar;\
c:/opt/castor/castor-1.1.2.1/xml-apis.jar;\
c:/opt/castor/castor-1.1.2.1/castor-1.1.2.1-commons.jar"
 
echo "cp = $cp"
java \
   -classpath "$cp" \
   org.exolab.castor.builder.SourceGeneratorMain \
   -i ./XSD/Development/EmailNotificationRequest_v01_00.xsd \
   -dest ./generated \
   -package com.qwest.notification.generated \
   -verbose
 


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

Reply via email to