I am new to Java environment, I'm trying to run a Coap server using Californium https://github.com/eclipse-californium/californium
I cloned the git repo. then ran mvn clean install
in the repo folder.
I now want to run the hello world demo in californium/demo-apps/cf-helloworld-server/
what is the next step?
I opened the folder cd demo-apps/cf-helloworld-server
then ran
mvn clean install
mvn compile
it worked without errors, now how to run the server?
if I run:
java target.classes.org.eclipse.californium.examples.HelloWorldServer
I get this error
Error: Unable to initialize main class org.eclipse.californium.examples.Server
Caused by: java.lang.NoClassDefFoundError: org/eclipse/californium/elements/exception/ConnectorException