powered by Jive Software

Error after importing the smack_dev

Hey there,

i imported the smack_dev kit properly in Eclipse 3.1.

The source files including the smack.jar libraries.

I wanted to run the application after starting the “main” Class i got this warnung:

The serializable class XMPPException does not declare a static final serialVersionUID field of type long /b

Anyone ?

Hi Florian,

which application did you want to run? As long as this is just a warning and not an error you may want to add a serialVersionUID to get rid of it.

LG

I wanted to run the “main” method.

Whatever…I can’'t find it in any class O.o

I clicked on the project, “right click” Run as -> Java application …then eclipse started so search for the “classes” and found a couple of runnable classes like :

Activation

ActivationGroupInit

NameServer

NetworkServer

Version

Xpath

and… Main

maybe I am completly wrong,.?

Maybe the right question is:

How to start the Smack_dev kit after importing it correctly.[/b]

greetings Flo

Hi,

it is an API and not a program. It does not support a GUI or a command line interface.

Write your own main() method and your own classes to use it, just like here: http://www.jivesoftware.org/community/thread.jspa?messageID=93273

LG

Oh, k.

Thank you…