I just got it again: `Unresolved service: class or...
# intellij
d
I just got it again:
Unresolved service: class org.jetbrains.kotlin.resolve.jvm.JavaDescriptorResolver
y
did you reimport the project from Gradle?
d
I think so, but I'll try that again
no, I didn't, actually, that was another project
y
you need to do that, otherwise the problem won't be resolved
d
same thing even after project reimport. Hold on, let me create a MAVEN project so I can get the IDEA JDK set up properly first... grumble
Yep, same thing. Even after project reimport, error exists.
To be fair, it happened after updating the project to kotlin 1.1.4 (AFTER upgrading IDEA)
but the reimport should have been able to fix all of that, no?
y
wait, so this is a Maven project and not a Gradle one?
d
Gradle
But IDEA doesn't set up the JDK properly when all I use is gradle, so I create a temp maven project just to get IDEA bootstrapped
y
and in the Gradle project, are any of the libraries marked with the JS icon in Settings | Project Structure?
d
hold on, will check
Project Settings/Libraries, right? I want to make sure I'm looking in the right place
y
yes
The highlighted library actually imports angular and some other libraries, but all of it's pretty consistent throughout the whole project
(short answer: no)
y
and you did install the 1.1.4-2 plugin?
d
From the IDEA update? yes
Confirming by checking for updates again: yes
y
no, you need to download the plugin the link to which I posted here today and use "install plugin from disk" to install it
d
Ah ha! downloading and will install now
restarting
reimporting the project again
Okay, I'm getting the same error BUT it is able to import the libs again
let me reimport one more time after clearing everything, those might have been earlier exceptions
y
Happens for me but with 1.2-M2 plugin
And with a Java code.