Thanks much! I tried Java 1.4.2 and it the exception went away. For some reason those, it is only generated 2 of the java files and not all of them. I am investigating.
Thanks again, John -----Original Message----- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Monday, October 15, 2007 9:42 AM To: [email protected] Subject: Re: [castor-user] Problem generating java classes As far as I can tell, you are trying to use Castor post-1.1 with Java 1.3, which is not supported anymore. Werner Hoebel, John wrote: > 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/ > casto > 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/casto > r-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. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

