Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Problem with running the examples

Hi Daniel,

There are many different examples in the "client-examples" folder, and the JAR is containing all of them. It is not really meant to be executable, and also many of the examples will require the "server" samples to run alongside.
You may want to rather run the samples one by one from your favourite IDE – this will also make it much easier to make sure you have everything you need in your classpath (e.g the Eclipse Milo stack and SDK, slf4j, …)

HTH
Benjamin 



Benjamin Cabé – IoT Program Manager & Evangelist

Eclipse Foundation
+33 (0) 619196101
@kartben

De : <milo-dev-bounces@xxxxxxxxxxx> on behalf of Daniel Hamandouche <daniel.hamandouche@xxxxxxxxxxxx>
Répondre à : milo developer discussions <milo-dev@xxxxxxxxxxx>
Date : lundi 6 mars 2017 à 10:11
À : "milo-dev@xxxxxxxxxxx" <milo-dev@xxxxxxxxxxx>
Objet : [milo-dev] Problem with running the examples

Hi,

 

I just started working with eclipse milo and wanted to try out some examples.

After running mvn package in the root directory of the project, it created some .jar files under milo-examples.

I tried starting the client-example (same error for other examples as well) and received:

C:\Users\...\milo\milo-examples\client-examples\target>java -jar client-examples-0.1.1-SNAPSHOT.jar

no main manifest attribute, in client-examples-0.1.1-SNAPSHOT.jar

 

How can I fix that problem and what did I do wrong?

 

Thanks in advance

 

BR

Daniel

_______________________________________________ milo-dev mailing list milo-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/milo-dev

Back to the top