title: I'm getting an error in java using eclipse after running the following code for weather API?
body: <p>**
  I'm trying to run the following code which has a weather api an is supposed to tell a weather of a selected location but i'm getting a following error?</p>
  <p>**</p>
  <pre><code>
  Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
      at net.aksingh.owmjapis.core.OWM.&lt;init&gt;(OWM.kt)
      at myCbot.main(myCbot.java:11)
  Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      ... 2 more
  
  </code></pre>
  <p>** im getting error fro the following java code **</p>
  <pre><code>import net.aksingh.owmjapis.core.OWM;
  import net.aksingh.owmjapis.api.APIException;
  import net.aksingh.owmjapis.model.CurrentWeather;
  
  public class myCbot {
  
      public static void main(String[] args) throws APIException {
  
          // declaring object of &quot;OWM&quot; class
          OWM owm = new OWM(&quot;some-api-key&quot;);
  
          // getting current weather data for the &quot;London&quot; city
          CurrentWeather cwd = owm.currentWeatherByCityName(&quot;London&quot;);
  
          // printing city name from the retrieved data
          System.out.println(&quot;City: &quot; + cwd.getCityName());
  
          // printing the max./min. temperature
          System.out.println(
                  &quot;Temperature: &quot; + cwd.getMainData().getTempMax() + &quot;/&quot; + cwd.getMainData().getTempMin() + &quot;\'K&quot;);
      }
  }
  </code></pre>