New Tamino API does not work?

Hi there,

I downloaded the new Tamino API and started to try it out. I began with the example “XMLGreeting” deployed with the package but got permanent errors:

Exception in thread “main” java.lang.NoSuchMethodError
at com.softwareag.tamino.db.API.objectModel.dom.TDOMAdapter.setId(TDOMAd
apter.java:95)
at com.softwareag.tamino.db.API.accessor.TStreamAccessorImpl.insert(TStr
eamAccessorImpl.java:85)
at com.softwareag.tamino.db.API.accessor.TXMLObjectAccessorImpl.insert(T
XMLObjectAccessorImpl.java:77)
at com.softwareag.tamino.db.API.examples.greeting.XMLGreeting.main(XMLGr
eeting.java:48)

Does anybody know what is wrong? I use Tamino 2.3.1, JDK1.3 and the jar files (jdom, xerces…) deployed with the new API.

Thanks in advance for help

Andreas

Hi Andreas,

could you post the classpath, which is used while running the example, please?

Thanks, Christian.

when i run the demo just like this,I met the error above too,who can tell me what’s wrong?
I compile it and it’s right,but running is wrong.
Thanks.

Could you please post the classpath and command, which is used while running the example and also the exception you get??

Hi!

I

Hi Everyone,

I don’t promise to know the solution, but it is certain to cause problems if you have both TaminoAPI4J.jar AND taminoclient.jar in your CLASSPATH.

The new style API - Tamino API for Java - is found in the TaminoAPI4J.jar file.
The taminoclient.jar file contains the previous Java API for Tamino.
Using these together will probably cause some classes to be picked up from the old API, leading to these mysterious errors.

So, remove the taminoclient.jar and see what happens then…

Cheers,
Trevor.

hi!

thanks for the hint, but that wasn