Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Cannot compile leshan-server-demo

Hi,

   The hudson build is ok : https://hudson.eclipse.org/leshan/job/leshan/

   I just tested on my computer it's ok too. (both machines on linux)

   You should try :   

$ git clone https://github.com/eclipse/leshan
$ cd leshan
$ mvn clean install
$ cd leshan-server-demo
$ mvn –e clean install

HTH

Simon

Le 30/08/2017 à 14:02, Klaas de Waal a écrit :

Hi all,

 

I cannot compile the latest leshan-server-demo.

 

Compilation fails with the following message:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project leshan-server-demo: Compilation failure

[ERROR] /home/openais/kmdewaal/git-try/leshan/leshan-server-demo/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java:[236,16] cannot find symbol

[ERROR] symbol:   method setCoapConfig(org.eclipse.californium.core.network.config.NetworkConfig)

[ERROR] location: variable builder of type org.eclipse.leshan.server.californium.LeshanServerBuilder

[ERROR] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project leshan-server-demo: Compilation failure

/home/openais/kmdewaal/git-try/leshan/leshan-server-demo/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java:[236,16] cannot find symbol

  symbol:   method setCoapConfig(org.eclipse.californium.core.network.config.NetworkConfig)

  location: variable builder of type org.eclipse.leshan.server.californium.LeshanServerBuilder

 

How to reproduce this (on a Linux system):

$ git clone https://github.com/eclipse/leshan

$ cd leshan

$ cd leshan-server-demo

$ mvn –e clean install

 

This a sequence that should work if I understand the README correct.

 

The problem is likely related to commit c95a637757ee6c8ecadcf9275ebc23ee2f93c936 “Rename NetworkConfig in CoapConfig” by sbernard31 on 9 june.

 

Any help is greatly appreciated!

 

Thanks,

Klaas.

 

 

Klaas de Waal
Senior Software Engineer 


T +31 40 250 91 23  | M +32 498 17 06 85 | E klaas.de.waal@xxxxxxxxx
Imtech Traffic & Infra (The Netherlands)
Dynniq Belgium N.V.  |  Bld. Paepsemlaan 20 – B-1070 Anderlecht | Belgium
T +32 2 303 27 00 | F +32 2 303 27 01  |  
www.dynniq.be  |  HR 477.899.895 

 



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


Back to the top