0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SpringBootプロジェクトでimport文が全てエラーになった時の対処法

Posted at

エラー内容

全てのimport文に赤い線がかかり、以下のエラーが出力

Cannot resolve the modulepaths/classpaths automatically, please specify the value in the launch.json.

解決方法

1.Spring Boot Extension Packをアンインストール

image.png

2.VSCを再起動

3.Spring Boot Extension Packを再インストール

4.[Ctrl] + [Shift] + [p]で cleanと検索し「Clean Java Language Server Workspace」を選択

image.png

以上です。

参考サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?