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.
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…