Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing error about Maven class missing under 0.5.0 #542

Closed
abrooksv opened this issue Oct 9, 2020 · 5 comments
Closed

Seeing error about Maven class missing under 0.5.0 #542

abrooksv opened this issue Oct 9, 2020 · 5 comments
Assignees
Milestone

Comments

@abrooksv
Copy link
Contributor

abrooksv commented Oct 9, 2020

I tried 0.5.0, but sometimes the build would fail due to kotlinCompile error:

Options for KOTLIN DAEMON: IncrementalCompilationOptions(super=CompilationOptions(compilerMode=INCREMENTAL_COMPILER, targetPlatform=JVM, reportCategories=[0], reportSeverity=2, requestedCompilationResults=[0]kotlinScriptExtensions=[kt, kts, java]), areFileChangesKnown=false, modifiedFiles=null, deletedFiles=null, workingDir=/Users/<user>/aws-intellij-toolkit/jetbrains-core/build/kotlin/compileKotlin, multiModuleICSettings=MultiModuleICSettings(buildHistoryFile=/Users/<user>/aws-intellij-toolkit/jetbrains-core/build/kotlin/compileKotlin/build-history.bin, useModuleDetection=false), usePreciseJavaTracking=trueoutputFiles=[/Users/<user>/aws-intellij-toolkit/jetbrains-core/build/classes/kotlin/main, /Users/<user>/aws-intellij-toolkit/jetbrains-core/build/kotlin/compileKotlin])
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
    class org.jetbrains.idea.maven.model.MavenArtifact, unresolved supertypes: org.jetbrains.idea.maven.model.MavenCoordinate

> Task :jetbrains-core:compileKotlin FAILED

There were not any more logs in --info.

It did not seem to be deterministic, my coworker saw it until he cleaned first, but I saw it more frequently.

Revert PR: aws/aws-toolkit-jetbrains#2133

Any ideas?

@zolotov
Copy link
Member

zolotov commented Oct 15, 2020

Hi,

Any ideas?

No, not really. Probably the problem in kotlin compiler. I don't really understand why it even tries to compile those classes. You didn't you add a dependency on intellij maven plugin, right?

@abrooksv
Copy link
Contributor Author

Ya we do have a dependency on "org.jetbrains.idea.maven"

@abrooksv
Copy link
Contributor Author

I can't seem to reproduce it now and I am on a new laptop

@abrooksv
Copy link
Contributor Author

Not seeing this anymore, will re-open if I see it and can triage it more

@zolotov
Copy link
Member

zolotov commented Nov 6, 2020

will be fixed in 0.6.3

@zolotov zolotov self-assigned this Nov 6, 2020
@zolotov zolotov added this to the 0.6.3 milestone Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants