okleine / nCoAP

Java implementation of the CoAP protocol using netty
BSD 3-Clause "New" or "Revised" License
179 stars 57 forks source link

Unable to resolve Superclass when updating to 1.0.3 #22

Closed TVLuke closed 10 years ago

TVLuke commented 10 years ago

Hi,

I have been using nCoAP 1.0.1 in one of my projects (https://github.com/TVLuke/DynamixBridge) and have now tried to update to 1.0.3 however, I get an error telling me that the superclass of my Coap Server Class (that is CoapServerApplication) can not be resolved, when calling the constructor with super(port) in my constructor. I get the same error with other classes too. Classes are simply not found...

Are these classes handled differently in 1.0.3? When I revert to 1.0.1 the errors disapear, so it does not seem to be a problem of the structure of the project. I do not see anything different in your examples, are these tested with 1.0.3?

1.0.2 works by the way...

Cheers, Lukas

okleine commented 10 years ago

I couldnt reproduce that. However, version 1.0.3 refers to an outdated draft of CoAP (draft 8) and should not be used anymore, anyway. Please use RFC 7252 (resp. draft-18) which is implemented as of release 1.8.1.