how to import spring api
Answered
Hi,
I want to use Spring model com.intellij.spring.model.xml.beans.Beans.java in my plugin.
I followed this tutorial:https://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/spring_api.html#setting-up-intellij-platform-sdk .
But when runIde, I got exception:can not found com.intellij.spring.model.xml.beans
What should I do now?
Thanks

Please sign in to leave a comment.
The step described in the docs refers to using Plugin Devkit setup, not Gradle project setup.
Please see 'plugins' property in https://github.com/JetBrains/gradle-intellij-plugin/#setup-dsl for using _bundled plugin_ and make sure to add <depends> (https://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/spring_api.html#pluginxml)
Thanks Cebron.
I have another question, Is the spring api only available for Ultimate Edition?
So how do I extend Spring support in my plugin for Community Edition?
Indeed it requires Spring plugin which is available in Ultimate Edition only.