org.jetbrains.idea.svn.SvnVcs cannot be cast to org.jetbrains.idea.svn.SvnVcs
Hello,
I'm developing a plugin for IC 11 EAP that uses the IDEA SVN.
When I'm trying to use anything about the svn plugin I always get "org.jetbrains.idea.svn.SvnVcs cannot be cast to org.jetbrains.idea.svn.SvnVcs". For example:
final SVNInfo info = SvnVcs.getInstance(project).getInfo(data);
java.lang.ClassCastException: org.jetbrains.idea.svn.SvnVcs cannot be cast to org.jetbrains.idea.svn.SvnVcs
at org.jetbrains.idea.svn.SvnVcs.getInstance(SvnVcs.java:679)
Any idea? Is it because I'm using EAP versions?
Any suggestions?
Thanks
Please sign in to leave a comment.
Make sure you add the jars of the SVN plugin to the classpath of the IntelliJ IDEA SDK, not as a separate library.
that was the problem... thanks for the support
Now I can move on..