KtStringTemplateExpression: Class Not Found


I'm a plugin developer, I added kotlin plugin dependency in build.gradle (intellij { plugins.set("kotlin") }).

Everything is ok inside development environment, the KtStringTemplateExpression is known. But the intellij plugin verifier says KtStringTemplateExpression class is not found, also in runtime when I execute the corresponding action, ClassNotFound error will happen.

How should I fix this? Thanks.

评论操作 固定链接


The correct ID for the Kotlin plugin is org.jetbrains.kotlin. What is your plugin.xml file content? Ideally, please provide the actual project to reproduce the issue.