package does not exist
See original GitHub issue[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
- download https://github.com/redhat-developer/vscode-java/files/1500211/test_vs_code2.zip
- unzip test_vs_code2.zip
- open test_vs_code with vscode
[attach a sample project reproducing the error] attach logs
Current Result
Got some warnings. import
says “package org.json does not exist”, JSONObject
says “cannot find symbol”,
Expected Result
such warnings should disappear
Additional Informations
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Java Package Does Not Exist Error - Stack Overflow
1. Assuming you have compiled the java files into the correct directory (class files are in "/usr/share/stuff/org/name"), you also need to ...
Read more >Java "package does not exist" error
I am fairly new to Java, and am taking an online course offered by Duke in OOP and Java Programming. The class is...
Read more >"Package does not exist" when compiling a Java ... - Search
This error will occur when the CLASSPATH Windows environment variable (with some Jar files required for other java applications) is set on ...
Read more >"package does not exist" error - CodeRanch
First, from my project root directory I compiled the model class: E:\SCWCD preparation\HF Projects\javaEbook>javac -cp "C:\My ...
Read more >Package does not exist - java help on CodeGym
Package does not exist · The Controller class must be created in the controller package. · A private Model model field and corresponding...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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