Kotlin / Kotlin/kotlin-script-examples

java.lang.NoClassDefFoundError: org/apache/commons/io/filefilter/NameFileFilter

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
339
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Run `kotlin-script-examples.jvm.basic.jvm-maven-deps.host.main` with Program arguments `C:\0\_code\kotlin\kotlin-script-examples\jvm\basic\jvm-maven-deps\host\testData\hello-kotlinx-html.scriptwithdeps.kts`:

```
Executing script C:\0\_code\kotlin\kotlin-script-examples\jvm\basic\jvm-maven-deps\host\testData\hello-kotlinx-html.scriptwithdeps.kts
: Using new faster version of JAR FS: it should make your build faster, but the new implementation is experimental
: org/apache/commons/io/filefilter/NameFileFilter: java.lang.NoClassDefFoundError: org/apache/commons/io/filefilter/NameFileFilter
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with kotlin-script-examples.jvm.basic.jvm-maven-deps.host.main and testData/hello-kotlinx-html.scriptwithdeps.kts. Start by checking how the jvm-maven-deps example makes its Maven dependencies available, focusing on the missing org/apache/commons/io/filefilter/NameFileFilter class. Done means the example executes the script without NoClassDefFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.