microsoft / microsoft/vscode-java-pack

Lots of 'The import cannot be resolved' in Maven project

オープン
#685 コメント 11 件 リアクション 0 件 担当者 1 名 GitHub で見る

@testforstephen がすでに取り組んでいます。

2021年7月20日 から。

ai-triaged bug
主要言語
TypeScript
スター
352
フォーク
166
平均マージ
17時間 47分
マージ済み PR(30日)
32

説明

Issue Type: Bug

I have a Maven project with some dependencies. Sometimes VSC looses track of these dependencies and can no longer identify the packages in them. Either when opening the workspace or later on. When I open the class that have those imports, VSC is able to resolve all.

Some screenshots to show this behavior. I've just opened VSC with this workspace.

screenshot1

screenshot2

screenshot3

If I "Run" a main method in some class, some problems return or appear new ones. Again, if I open the class, the problems disappear. Below you can see this behavior:

screenshot4

screenshot5

Extension version: 0.17.0
VS Code version: Code 1.58.0 (2d23c42a936db1c7b3b06f918cde29561cc47cd6, 2021-07-08T06:54:55.083Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.42GB (8.45GB free)
Process Argv C:\Users\itamar.iac\Documents\GitHub\action-itemplate-ghpages --crash-reporter-id 48661a35-f878-413d-8254-eb4c3807d58b
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30335481
vscorehov:30309549
vscod805:30301674
pythonvspyt200:30331937
vscextlangct:30333562
binariesv615:30325510
vsccppwt:30329788
vstea450:30335276
bridge0708:30335490

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。