Hi, I'm having an issue where I have a non-android...
# announcements
d
Hi, I'm having an issue where I have a non-android subproject in an android project using IntelliJ, when I try to run the Main.kt (which has a main function in it), I get:
Copy code
Exception in thread "main" java.lang.ClassNotFoundException: com.company.subproject.MainKt
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
  ...
This was previously working (probably with Intellij 14 and a couple of kotlin releases ago), but when I updated the code and re-ran it wasn't updating behavior, and now this is happening after I cleaned. Is anyone familiar with this issue?