-
Notifications
You must be signed in to change notification settings - Fork 8
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
Trivial Bazel 6.4.0 example project (without rules_jvm_external
) fails to open
#74
Comments
…release level 11, preview can be enabled only at source level 21' to Troubleshooting doc Related to salesforce#74.
OK so that is actually from
I (now, after "clearing the fog") see that as well, copy/paste from
The Problems view also has:
Do you suspect that is the real problem here, and in #73? I'm not entirely sure what real problems, if any, this actual causes? I have (vague) memories of having seen this back in my Eclipse days, and things were still working. The I have attempted to hack / workaround it by changing Java Version 1.8 with the Java: Configure Java Runtime command, but can't figure out how to Save it; it keeps "reverting"?! Adding the following to
seems to make the 2 messages above in Problems go away, and (predictably) changes the error in
Which is perhaps still slightly surprising - why/what wants "Preview features enabled" as "preview can be enabled only at source level 21" - in a project that's declared as Java 11 only - but be that as it may. I've raised PR #79 to add documentation about that. Clicking Run in the Let me close this, as the original problem is "solved" (it does not "fail to open", actually). I'll further pursue #75 instead next. |
When I open
code java_one/
in https://github.com/vorburger/LearningBazel it fails like this:This does not even use
rules_jvm_external
like #73.@guw
The text was updated successfully, but these errors were encountered: