I have trouble building plugins, everything works fine if I try ant jar, but if I try ant plugins I get these error messages
C:\Documents and Settings\Username\Desktop\jive_messenger_src\src\plugins\broadcast\src\java\org \jivesoftware\messenger\plugin\BroadcastPlugin.java:165: cannot find symbol
symbol : method getAdmins()
location: class org.jivesoftware.messenger.group.Group
group.getAdmins().contains(fromNode) ||
^
C:\Documents and Settings\Username\Desktop\jive_messenger_src\src\plugins\broadcast\src\java\org \jivesoftware\messenger\plugin\BroadcastPlugin.java:168: cannot find symbol
symbol : method getMembers()
location: class org.jivesoftware.messenger.group.Group
for (String user : group.getMembers()) {
^
2 errors
I also have trouble running the server. I am running
java version “1.5.0_05”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot™ Client VM (build 1.5.0_05-b05, mixed mode, sharing)
I get these error messages when I try to run messenger.bat:
Exception in thread “main” java.lang.Error: Unresolved compilation problems: The type Map is not generic; it cannot be parameterized with arguments Syntax error, parameterized types are only available if source level is 5.0 modules cannot be resolved or is not a field
Syntax error, ‘‘for each’’ statements are only available if source level is 5.0 modules cannot be resolved modules cannot be resolved or is not a field
Syntax error, ‘‘for each’’ statements are only available if source level is 5.0 modules cannot be resolved Type mismatch: cannot convert from int to Object modules cannot be resolved Syntax error, ‘‘for each’’ statements are only available if source level is 5.0 modules cannot be resolved