Vscode-java: package does not exist

Created on 31 May 2018  路  6Comments  路  Source: redhat-developer/vscode-java

[provide a description of the issue]

Environment
  • Operating System: macos sierra
  • JDK version: 1.8
  • Visual Studio Code version: 1.23.1
  • Java extension version: 0.25.0
Steps To Reproduce
  1. download https://github.com/redhat-developer/vscode-java/files/1500211/test_vs_code2.zip
  2. unzip test_vs_code2.zip
  3. open test_vs_code with vscode

[attach a sample project reproducing the error]
[attach logs](https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting#enable-logging)

Current Result

Got some warnings. import says "package org.json does not exist", JSONObject says "cannot find symbol",

image

Expected Result

such warnings should disappear

Additional Informations

Most helpful comment

I had this problem even without java linter extension ever having been installed.

I fixed the issue by reinstalling several java related extensions including the Java-Extension-Pack

All 6 comments

Sorry to bother, it's due to another plugin

Duplicate of #161
try removing the java linter extension

I had this problem even without java linter extension ever having been installed.

I fixed the issue by reinstalling several java related extensions including the Java-Extension-Pack

Duplicate of #161
try removing the java linter extension

Disabling Java Linter extension solved my problem, too.

Disabling Java Linter extension solved my problem, too.

Disabling Java Linter extension faustinoaq.javac-linter https://marketplace.visualstudio.com/items?itemName=faustinoaq.javac-linter solved for me!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielcalvogonzalez picture danielcalvogonzalez  路  3Comments

gorkem picture gorkem  路  4Comments

joewood picture joewood  路  3Comments

zalcorshark picture zalcorshark  路  3Comments

jcjolley picture jcjolley  路  3Comments