problem with plugin after upgrading to 2017.2
Hello,
I have a plugin I wrote/edited that sued to work for 2017.1 versions of intellij.
after upgrade to 2017.2 I have a dependency issue with
import com.google.common.io.CharStreams;
I tried downloading the guava 23.0 jar and put it in the Classpath of my SDK but it is not working.
any idea will be welcomed
Please sign in to leave a comment.
What kind of 'dependency issue' do you have? Is is a problem with compilation? Or you have errors at runtime?
IDEA 2017.2 have guava-21.0.jar in its classpath, and you don't need to download it separately, it's already in IDEA_HOME/lib directory.
I am getting a compilation error :
Error:(125, 27) java: cannot find symbol
symbol: variable CharStreams
location: class com.ritesh.idea.plugin.diff.RbToolsDiffProvider
the import
So you use a plugin module with IntelliJ Platform Plugin SDK, right? Check that 'IDEA_HOME/lib/guava-21.0.jar' is included into 'Classpath' list of the SDK.
it's included in the class path of the SDK but it's still failing:
Is that SDK specified in your module editor as 'Module SDK'?