As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
In the very first part of the getting started guide for java. There is a bug in the documentation. Lne one of the very first example does not exist. There is no "client" class in the com.kinvey.java. There is one in com.kinvey.nativejava.Client tho.
If you are getting runtime exceptions, such as NoMethodFound, it might be a problem with the build path-- Ensure that the Kinvey dependencies are properly being packaged using your build process (ant/maven) into whatever target you are using (jar/war)
S
Sean Hoffman
said
over 8 years ago
Ya I am starting to think it is a build issue. I followed the guide as close as I could. I have the jars imported but I am still getting issues. The pink works fine but I cannot get the login to work.
P.S Here is the error. I seem to be getting this with most functions on the user class. Exception in thread "main" java.lang.NoSuchMethodError: com.kinvey.nativejava.User.loginBlocking(Ljava/lang/String;Ljava/lang/String;)Lcom/kinvey/java/User;
at Main.main(Main.java:16)
Below is the code:
public static void main(String[] args) throws Exception {
boolean pingResult = mKinveyClient.ping();
System.out.println("Client ping result -> " + pingResult);
Sean Hoffman
See ya,
Sean