Hi
Thnx for your answer
Well I downloaded the tuscany-sdo-1.1.1 where under \lib is 
tuscany-sdo-api-r2.1-1.1.1.
And added all the jars from there into my Eclipse Java Project.
I guess I am missing a major link here.
Where can I download the v2.x jars?

Cheers
Tezcan

-----Original Message-----
From: Raymond Feng [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 3. September 2008 20:16
To: [email protected]
Subject: Re: NoSuchMethod exception

Which version of the SDO APIs do you have on the classpath? Tuscany SDO 
requires 2.x.

Thanks,
Raymond


From: [EMAIL PROTECTED]
Sent: Wednesday, September 03, 2008 1:03 AM
To: [email protected]
Subject: FW: NoSuchMethod exception


Hi
I am new to Tuscany and have coded a small example.
When I run it I am receiving the below error.
Can anyone guide me further?
Exception in thread "main" java.lang.NoSuchMethodError: 
commonj/sdo/Property.getAliasNames()Ljava/util/List;
        at 
org.apache.tuscany.sdo.impl.ClassImpl.initAliasNames(ClassImpl.java:484)
        at 
org.apache.tuscany.sdo.impl.ClassImpl.getProperty(ClassImpl.java:500)
        at 
org.apache.tuscany.sdo.util.DataObjectUtil.get(DataObjectUtil.java:772)
        at 
org.apache.tuscany.sdo.impl.DataObjectImpl.get(DataObjectImpl.java:221)
        at 
org.apache.tuscany.sdo.impl.DataObjectImpl.getString(DataObjectImpl.java:426)
        at TuscanyTest.main(TuscanyTest.java:31)
code
.
        private static void definePOTypes() throws Exception {
          FileInputStream fis = new FileInputStream(PO_MODEL);
          XSDHelper.INSTANCE.define(fis, null);
          fis.close();
        }
        public static void main(String[] args) throws Exception {
          definePOTypes();
          FileInputStream fis = new FileInputStream(PO_XML);
          XMLDocument xmlDoc = XMLHelper.INSTANCE.load(fis);
          DataObject purchaseOrder = xmlDoc.getRootObject();

         System.out.println("Order date: " + 
purchaseOrder.getString("orderDate"));
.
Tezcan Dilshener
Satz Software & Consulting GmbH
HVB Information Services GmbH
Member of UniCredit Group
HII3ES Development Services Client Server
Am Tucherpark 12
D-80538 München
Tel: +49 89 378-26378
mailto:[EMAIL PROTECTED]
http://www.hvbis.com
The legal obligation information of HVB Information Services GmbH can be 
found at: http://www.hvbis.com/is/de/pub/441.htm
Die gesetzlichen Pflichtangaben zur HVB Information Services GmbH finden Sie 
unter: http://www.hvbis.com/is/de/pub/441.htm
Important Note:
This e-mail is only intended for the person or company/organisation named as 
recipient. It may contain trade secrets or undisclosed and
confidential information or information otherwise protected by work-product 
immunity or other legal regulations. If you have received this email by 
mistake, we kindly ask you not to copy this message or use it for any 
purpose nor disclose its contents to any other person. Please inform us 
immediately and delete the original document. In addition, please let us 
know if you or your company object to receiving e-mails for messages of this 
kind.
Wichtiger Hinweis:
Diese E-Mail ist nur für die Person oder die Firma/Organisation bestimmt, 
die in der Empfängeradresse benannt ist und enthält u. U. 
Geschäftsgeheimnisse oder vertrauliche Informationen, die dem Schutz von 
Arbeitsergebnissen unterliegen oder sonst rechtlich geschützt sind. Wenn Sie 
nicht der angegebene Empfänger sind, bitten wir Sie, uns unverzüglich zu 
informieren und diese Nachricht zu vernichten und sie insbesondere nicht zu 
kopieren oder sie für irgendwelche anderen Zwecke zu verwenden, noch den 
Inhalt dieser Nachricht dritten Personen zugänglich zu machen. Bitte 
informieren Sie uns auch unverzüglich, wenn Sie oder Ihr Arbeitgeber nicht 
mit E-Mail Nachrichten dieser Art einverstanden sein sollten. 

Reply via email to