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

Compilation against IC-2025.1 EAP fails #269

Open
adietish opened this issue Feb 25, 2025 · 1 comment · May be fixed by #270
Open

Compilation against IC-2025.1 EAP fails #269

adietish opened this issue Feb 25, 2025 · 1 comment · May be fixed by #270

Comments

@adietish
Copy link
Contributor

adietish commented Feb 25, 2025

related to:

compilation errors:

> Task :verifyPluginProjectConfiguration
[org.jetbrains.intellij.platform] The following plugin configuration issues were found:
- The plugin.xml descriptor file could not be found.
- The Java configuration specifies sourceCompatibility='17' but IntelliJ Platform '2025.1' requires sourceCompatibility='21'.
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemasProviderFactory.java:18: error: package com.jetbrains.jsonSchema.extension does not exist
import com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider;
                                         ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemasProviderFactory.java:19: error: package com.jetbrains.jsonSchema.extension does not exist
import com.jetbrains.jsonSchema.extension.JsonSchemaProviderFactory;
                                         ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemasProviderFactory.java:34: error: cannot find symbol
public class SchemasProviderFactory implements JsonSchemaProviderFactory {
                                               ^
  symbol: class JsonSchemaProviderFactory
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:19: error: package com.jetbrains.jsonSchema.extension does not exist
import com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider;
                                         ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:20: error: package com.jetbrains.jsonSchema.extension does not exist
import com.jetbrains.jsonSchema.extension.SchemaType;
                                         ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:24: error: cannot find symbol
public class SchemaProvider implements JsonSchemaFileProvider {
                                       ^
  symbol: class JsonSchemaFileProvider
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemasProviderFactory.java:68: error: cannot find symbol
    public List<JsonSchemaFileProvider> getProviders(@NotNull Project project) {
                ^
  symbol:   class JsonSchemaFileProvider

> Task :compileJava
  location: class SchemasProviderFactory
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:65: error: cannot find symbol
    public SchemaType getSchemaType() {
           ^
  symbol:   class SchemaType
  location: class SchemaProvider
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemasProviderFactory.java:67: error: method does not override or implement a method from a supertype
    @Override
    ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:39: error: method does not override or implement a method from a supertype
    @Override
    ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:52: error: method does not override or implement a method from a supertype
    @Override
    ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:58: error: method does not override or implement a method from a supertype
    @Override
    ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:64: error: method does not override or implement a method from a supertype
    @Override
    ^
/home/runner/work/intellij-common/intellij-common/src/main/java/com/redhat/devtools/intellij/common/validation/SchemaProvider.java:66: error: cannot find symbol
        return SchemaType.schema;
               ^
  symbol:   variable SchemaType
  location: class SchemaProvider
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

14 errors
> Task :compileJava FAILED
> Task :processResources NO-SOURCE

> Task :generateManifest
> Task :processTestResources
> Task :sourcesJar
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 53s
@adietish adietish added this to the 1.9.9 milestone Feb 25, 2025
@adietish
Copy link
Contributor Author

Compilation complains that the package com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider doesn't exist.
I checked current main and it exists: https://github.com/JetBrains/intellij-community/blob/master/json/src/com/jetbrains/jsonSchema/extension/JsonSchemaFileProvider.java

I thus suspect that this will be solved once intellij gradle plugin 2.2.2 is released (see redhat-developer/intellij-kubernetes#838 (comment))

@adietish adietish moved this to 📋 Backlog in IDE Cloudaptors Feb 25, 2025
@sbouchet sbouchet self-assigned this Feb 25, 2025
@sbouchet sbouchet linked a pull request Feb 25, 2025 that will close this issue
@sbouchet sbouchet moved this from 📋 Backlog to 📝 In Progress in IDE Cloudaptors Feb 25, 2025
@sbouchet sbouchet moved this from 📝 In Progress to 👀 In review in IDE Cloudaptors Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

2 participants