bmoyer / osrsclient

An open-source reflection client for Old School RuneScape.
Other
39 stars 18 forks source link

The type com.google.common.collect.ImmutableSortedSet cannot be resolved #15

Open xiaokanghub opened 6 years ago

xiaokanghub commented 6 years ago

public void onJoin(JoinEvent event) throws Exception { manager.onJoinEvent(event.getChannel().getUsers().toArray());

}
When I refactor your code, the PIRCBOTX package has been imported, the version is 2.0.1, but the error has been reported.

"Event.getchannel (). Getusers (). ToArray ()" Here's an error. Error:The type com.google.common.collect.ImmutableSortedSet cannot be resolved. It is indirectly referenced from required .class files

xiaokanghub commented 6 years ago

now its ok, need to add http://maven.outofmemory.cn/com.google.guava/guava/r07/