Skip to content

Commit e106e02

Browse files
committed
Added TROUBLESHOOTING.md
1 parent 8625110 commit e106e02

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

TROUBLESHOOTING.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Troubleshooting
2+
3+
## The tests fail with java.lang.NoSuchMethodError
4+
* After updating the Kotlin version, there may be multiple copies of the compiler plugin in `lib-kotlin`, for example:
5+
6+
```
7+
lib-kotlin
8+
├───j2k-1.2.72-release-68.jar <- old version
9+
├───j2k-1.3.11-release-272.jar
10+
├───kotlin-plugin-1.2.72-release-68.jar <- old version
11+
└───kotlin-plugin-1.3.11-release-272.jar
12+
```
13+
14+
* The issue is that the compiler finds multiple versions of the same class on the classpath
15+
* To fix this, simply remove the older JARs
16+
* If that still does not work, delete the entire `lib-kotlin` folder
17+
* Gradle will automatically re-download the necessary files once the project is built again

0 commit comments

Comments
 (0)