[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building leshan - server demo 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ leshan-server-demo ---
[INFO] Deleting /home/giacomo/git/xxxxx/xxxxx/target
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ leshan-server-demo ---
[INFO] Executing: /bin/sh -c cd '/home/giacomo/git/xxxxxx/xxxxxx' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /home/giacomo/git/xxxxxxx/input-proxy
[INFO] Storing buildNumber: e9742bb8e56a8e9b3dc264f30ec8fe91ab4d67d1 at timestamp: 1509652668374
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ leshan-server-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 128 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ leshan-server-demo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /home/giacomo/git/xxxxx/xxxxxx/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/giacomo/git/input-proxy/xxxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/ClientServlet.java:[393,23] no suitable constructor found for InvalidRequestException(com.google.gson.JsonSyntaxException,java.lang.String,java.lang.String)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.Throwable) is not applicable
(actual and formal argument lists differ in length)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String,java.lang.Throwable) is not applicable
(actual and formal argument lists differ in length)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String) is not applicable
(actual and formal argument lists differ in length)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException() is not applicable
(actual and formal argument lists differ in length)
[ERROR] /home/giacomo/git/xxxxxx/xxxxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/ClientServlet.java:[401,15] no suitable constructor found for InvalidRequestException(java.lang.String,java.lang.String)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.Throwable) is not applicable
(actual and formal argument lists differ in length)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String,java.lang.Throwable) is not applicable
(actual argument java.lang.String cannot be converted to java.lang.Throwable by method invocation conversion)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String) is not applicable
(actual and formal argument lists differ in length)
constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException() is not applicable
(actual and formal argument lists differ in length)
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/EventServlet.java:[79,90] <anonymous org.eclipse.leshan.server.demo.servlet.EventServlet$1> is not abstract and does not override abstract method unregistered(org.eclipse.leshan.server.registration.Registration,java.util.Collection<org.eclipse.leshan.core.observation.Observation>) in org.eclipse.leshan.server.registration.RegistrationListener
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/EventServlet.java:[87,9] method does not override or implement a method from a supertype
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/EventServlet.java:[94,9] method does not override or implement a method from a supertype
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java:[320,35] cannot find symbol
symbol: method loadDdfResources(java.lang.String,java.lang.String[])
location: class org.eclipse.leshan.core.model.ObjectLoader
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java:[322,39] loadObjectsFromDir(java.io.File) has private access in org.eclipse.leshan.core.model.ObjectLoader
[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.061 s
[INFO] Finished at: 2017-11-02T20:57:50+01:00
[INFO] Final Memory: 19M/169M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project leshan-server-demo: Compilation failure: Compilation failure:
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/ClientServlet.java:[393,23] no suitable constructor found for InvalidRequestException(com.google.gson.JsonSyntaxException,java.lang.String,java.lang.String)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.Throwable) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String,java.lang.Throwable) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException() is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/ClientServlet.java:[401,15] no suitable constructor found for InvalidRequestException(java.lang.String,java.lang.String)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.Throwable) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String,java.lang.Throwable) is not applicable
[ERROR] (actual argument java.lang.String cannot be converted to java.lang.Throwable by method invocation conversion)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException(java.lang.String) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor org.eclipse.leshan.core.request.exception.InvalidRequestException.InvalidRequestException() is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/EventServlet.java:[79,90] <anonymous org.eclipse.leshan.server.demo.servlet.EventServlet$1> is not abstract and does not override abstract method unregistered(org.eclipse.leshan.server.registration.Registration,java.util.Collection<org.eclipse.leshan.core.observation.Observation>) in org.eclipse.leshan.server.registration.RegistrationListener
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/EventServlet.java:[87,9] method does not override or implement a method from a supertype
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/servlet/EventServlet.java:[94,9] method does not override or implement a method from a supertype
[ERROR] /home/giacomo/git/ixxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java:[320,35] cannot find symbol
[ERROR] symbol: method loadDdfResources(java.lang.String,java.lang.String[])
[ERROR] location: class org.eclipse.leshan.core.model.ObjectLoader
[ERROR] /home/giacomo/git/xxxxx/xxxxx/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java:[322,39] loadObjectsFromDir(java.io.File) has private access in org.eclipse.leshan.core.model.ObjectLoader
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: