Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] LeshanClient execution problem

Not a problem.  Glad to hear it's working :)

-J

On Thu, Jun 25, 2015 at 9:38 PM, Brighter Agyemang <brighteragyemang@xxxxxxxxx> wrote:
Thanks John, I set the project up on another laptop and it worked so I copied the .m2 folder and replaced the content on the one that was giving me problems so it has successfully compiled now :)...I guess it was my local repository giving me problems
Thanks once again

Best regards,
Brighter

On 25 June 2015 at 22:11, J.F. Schloman <john.schloman@xxxxxxxxx> wrote:
Brighter,

As I'm not a Netbeans user I am not 100% as to what the issues are but I'll see if I can help.  The complaint about line 77 is 
initializer.setInstanceForObject(6, locationInstance);
The setinstanceForObject method was added to ObjectsInitializer in the 0.1.11-M5-SNAPSHOT and that class lives in the leshan-client-core.  Are all of the other leshan projects imported as well into Netbeans (as the IDE wouldn't be able to compile the leshan-client-example without the other leshan project dependencies).  Or you mvn install the leshan projects to have them locally.  Do the command line instructions in the Readme still work for you (e.g., 'mvn assembly...')?

Hopefully that helps.  If not if there's other information you can share we can try and figure this out :)

-John

On Thu, Jun 25, 2015 at 4:22 AM, Brighter Agyemang <brighteragyemang@xxxxxxxxx> wrote:
Hello, I am using netbeans and I just cloned the master repository: https://github.com/eclipse/leshan.git

When I try running the client example I get the error below. Please I need help - I am new to leshan. Thanks in anticipation.

COMPILATION ERROR : 
-------------------------------------------------------------
org/eclipse/leshan/client/example/LeshanClientExample.java:[77,19] error: cannot find symbol
1 error
-------------------------------------------------------------
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.354s
Finished at: Fri Jun 26 17:14:33 CST 2015
Final Memory: 15M/227M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project leshan-client-example: Compilation failure
org/eclipse/leshan/client/example/LeshanClientExample.java:[77,19] error: cannot find symbol
-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:

_______________________________________________
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



_______________________________________________
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



_______________________________________________
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