[jdom-interest] setAttribute....

Antonello Dell'armi A.Dellarmi at ELIS.ORG
Mon Dec 2 02:15:43 PST 2002


I have a problem that make me crazy...

Compiling my jdom program with jdomb6 i get

C:\project\myjdomfile.java:95: cannot resolve symbol
symbol  : method setAttribute  (java.lang.String,java.lang.String)
location: class org.jdom.Element
					    generalUserInfo.setAttribute("userID", userID); (also userID is a String)
                                                           ^
isn't this method implemeted in jdomb6 or what's wrong?
I make the ipothesis that this method isn't implemented in jdomb6 and so i installed jdom8.
I premise that my program without the method setAttribute run without problems and that my program is an rmi program.

With jdomb8 also setAttribute method was recognized and so i compiled my program entirely,but executing the server i get an rmi exception with the following stacktrace:

PLEASE HELP!!! (i'm using Tamino database from SoftwareAG)

java.rmi.ServerError: Error occurred in server thread; nested exception is: 
	java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:289)
	at sun.rmi.transport.Transport$1.run(Transport.java:148)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
	at java.lang.Thread.run(Thread.java:536)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at DataManagerImpl_Stub.userRegistration(Unknown Source)
	at DMTestClient.main(DMTestClient.java:20)
Caused by: java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
	at com.softwareag.tamino.db.api.response.jdom.TJDOMInputStreamInterpreter.doInterpret(TJDOMInputStreamInterpreter.java:96)
	at com.softwareag.tamino.db.api.response.TInputStreamInterpreter.interpret(TInputStreamInterpreter.java:55)
	at com.softwareag.tamino.db.api.response.TResponseBuilderImpl.doBuild(TResponseBuilderImpl.java:81)
	at com.softwareag.tamino.db.api.response.TResponseBuilderImpl.buildForXML(TResponseBuilderImpl.java:60)
	at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.query(TXMLObjectAccessorImpl.java:228)
	at Database.query(Database.java:67)
	at DataManagerImpl.userRegistration(DataManagerImpl.java:40)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
	at sun.rmi.transport.Transport$1.run(Transport.java:148)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
	at java.lang.Thread.run(Thread.java:536)






---------------------------------------------
Antonello Dell'Armi student in
computer science engineering @
Universty of Rome "Tor Vergata" 
ITALY

e-mail anto.nello at tiscali.it  (unofficial)
e-mail2 a.dellarmi at elis.org
mobile: +393388638812
--------------------------------------------- 



More information about the jdom-interest mailing list