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)](pngJEXpMk8x2m.png)
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