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

maven profile was activated by language server's java version #3769

Open
lastboy1228 opened this issue Sep 19, 2024 · 0 comments
Open

maven profile was activated by language server's java version #3769

lastboy1228 opened this issue Sep 19, 2024 · 0 comments

Comments

@lastboy1228
Copy link

Extension: redhat.java-1.34.0

Problem: the project runtime is JavaSE-1.8, but the maven profile in "hibernate-validator" jar was activated by language server's minimum requirement java version(17), and the "javafx.base" compiled by jdk11 was imported in "Maven Dependencies".

        <profile>
            <id>jdk11+</id>
            <activation>
                <jdk>[11,)</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.openjfx</groupId>
                    <artifactId>javafx.base</artifactId>
                    <version>11.0.0-SNAPSHOT</version>
                </dependency>
            </dependencies>
        </profile>

Expect: profile to be activated by project runtime version

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

1 participant