Hi,
Am trying to integrate the RAD Chatroom in my existing (Non-MVC) application. However, I get this error when I try to run the code below :
java.lang.VerifyError: class com.codename1.rad.ui.chatroom.ChatRoomView overrides final method com.codename1.rad.ui.AbstractEntityView.bind()V
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
My code:
public class RChatRoom extends Form {
public RChatRoom() {
setLayout(new BorderLayout());
ChatRoomView.ViewModel room = new ChatRoomView.ViewModel();
ChatBubbleView.ViewModel message = new ChatBubbleView.ViewModel();
message.messageText("Hello World");
room.addMessages(message);
ChatRoomView view = new ChatRoomView(room, this);
add(BorderLayout.CENTER, view);
}
}
I am using Oracle JDK12 on Netbeans 12.2
What could be the issue ?
Thanks
--