question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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
  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

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

5reactions
samuelAlecommented, Jan 28, 2019

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

4reactions
wenfengsuicommented, Jan 16, 2019

Duplicate of #161 try removing the java linter extension

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found