mrniko / netty-socketio-demo

netty-socketio demo
883 stars 545 forks source link

Demo project doesn't seem to build #11

Closed jtruelove closed 10 years ago

jtruelove commented 10 years ago

The errors are listed below, looks like a couple methods are being called on interfaces that are not on those interfaces. I was trying to evaluate the project for use and tried following the directions but couldn't get past step #2. Thanks!

[ERROR] /Users/jt/osProjects/netty-socketio-demo/server/src/main/java/com/corundumstudio/socketio/demo/NamespaceChatLauncher.java:[20,55] error: cannot find symbol [ERROR] symbol: method sendJsonObject(ChatObject) location: class BroadcastOperations /Users/jt/osProjects/netty-socketio-demo/server/src/main/java/com/corundumstudio/socketio/demo/NamespaceChatLauncher.java:[16,22] error: cannot find symbol [ERROR] symbol: method addJsonObjectListener(Class,<anonymous DataListener>) location: variable chat1namespace of type SocketIONamespace /Users/jt/osProjects/netty-socketio-demo/server/src/main/java/com/corundumstudio/socketio/demo/NamespaceChatLauncher.java:[29,55] error: cannot find symbol [ERROR] symbol: method sendJsonObject(ChatObject) location: class BroadcastOperations /Users/jt/osProjects/netty-socketio-demo/server/src/main/java/com/corundumstudio/socketio/demo/NamespaceChatLauncher.java:[25,22] error: cannot find symbol

nightyx commented 10 years ago

I have the same problem. You can fix it if you set the netty-socketio version in the pom.xml to 1.6.5 (the release dates and the last commit date of the example lead to that experiment ;)). After that you just get errors for the Override annotation for the onData methods in the event listener.

mrniko commented 10 years ago

fixed