You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On an M1 Mac, I am getting errors about the kotlin stdlib not being in the classpath. As for others, placing a classpath script in one of the valid locations seems to have worked. However, I am concerned that this may not run correctly on this operating system, or if there's anything I am doing wrong?
I have added a file ~/.config/kotlin-language-server/classpath.sh and marked it as executable, which contains:
I have also tried placing it in my [project root]/kls-classpath, and have tried both with and without the .sh extensions, but it still tries to fetch the kotlin-stdlib from cache.
I know the scripts don't seem to be running at all because I tried to add some extra statements, such as displaying a notification or writing to a log file, which never ran.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[Info - 2:55:41 PM] main Kotlin Language Server: Version 1.3.12
[Info - 2:55:41 PM] main Connected to client
[Info - 2:55:41 PM] async0 Database has the correct version 4 and will be used as-is
[Info - 2:55:41 PM] async0 Adding workspace folder kog.systemtest-gradle-8.5-2024-02-04_2
[Info - 2:55:41 PM] async0 Searching /Users/justin/LocalProjects/School/AIT/kog.systemtest-gradle-8.5-2024-02-04_2 using exclusions: [.git, .hg, .svn, .idea, .idea_modules, .vs, .vscode, .code-workspace, .settings, bazel-*, bin, build, node_modules, target, *.kts]
[Info - 2:55:41 PM] async0 Adding 17 files under /Users/justin/LocalProjects/School/AIT/kog.systemtest-gradle-8.5-2024-02-04_2 to source path
[Info - 2:55:41 PM] async0 Updated exclusions: [.git, .hg, .svn, .idea, .idea_modules, .vs, .vscode, .code-workspace, .settings, bazel-*, bin, build, node_modules, target, *.kts]
[Info - 2:55:41 PM] async0 Searching for dependencies and Java sources in workspace root /Users/justin/LocalProjects/School/AIT/kog.systemtest-gradle-8.5-2024-02-04_2
[Info - 2:55:41 PM] async0 Classpath has not changed. Fetching from cache
[Info - 2:55:41 PM] async0 Adding [/Users/justin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.9.10/dafaf2c27f27c09220cee312df10917d9a5d97ce/kotlin-stdlib-common-1.9.10.jar, /Users/justin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-js/1.9.10/90dbf75d93b263d04217e3ca8638d20c1b550d74/kotlin-stdlib-js-1.9.10.jar] to class path
[Info - 2:55:41 PM] async0 Update build script path
[Info - 2:55:41 PM] async0 Build script classpath has not changed. Fetching from cache
[Info - 2:55:41 PM] async0 Adding 333 files to build script class path
[Info - 2:55:41 PM] async0 Reinstantiating compiler
[Info - 2:55:42 PM] client Updated exclusions: [.git, .hg, .svn, .idea, .idea_modules, .vs, .vscode, .code-workspace, .settings, bazel-*, bin, build, node_modules, target, *.kts]
[Info - 2:55:42 PM] client Updated configuration: {"kotlin":{"java":{"home":"","opts":""},"languageServer":{"enabled":true,"path":"","transport":"stdio","port":0,"debugAttach":{"enabled":false,"port":5005,"autoSuspend":false},"watchFiles":["**/*.kt","**/*.kts","**/*.java","**/pom.xml","**/build.gradle","**/settings.gradle"]},"trace":{"server":"off"},"codegen":{"enabled":false},"compiler":{"jvm":{"target":"default"}},"diagnostics":{"enabled":true,"level":"hint","debounceTime":250},"linting":{"debounceTime":250},"scripts":{"enabled":false,"buildScriptsEnabled":false},"indexing":{"enabled":true},"completion":{"snippets":{"enabled":true}},"debugAdapter":{"enabled":true,"path":""},"debounceTime":250,"externalSources":{"useKlsScheme":true,"autoConvertToKotlin":false},"snippetsEnabled":true,"inlayHints":{"typeHints":false,"parameterHints":false,"chainedHints":false}}}
The text was updated successfully, but these errors were encountered:
On an M1 Mac, I am getting errors about the kotlin stdlib not being in the classpath. As for others, placing a classpath script in one of the valid locations seems to have worked. However, I am concerned that this may not run correctly on this operating system, or if there's anything I am doing wrong?
I have added a file ~/.config/kotlin-language-server/classpath.sh and marked it as executable, which contains:
I have also tried placing it in my [project root]/kls-classpath, and have tried both with and without the .sh extensions, but it still tries to fetch the kotlin-stdlib from cache.
I know the scripts don't seem to be running at all because I tried to add some extra statements, such as displaying a notification or writing to a log file, which never ran.
The text was updated successfully, but these errors were encountered: