-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Does Not Exist Error; Project builds and Runs OK. #3832
Comments
@Arebusf21 Could you try to copy your jars to the |
Hi: I created a new .jar file, with 2 new class files. I wanted to test creating a jar file with this version of java. |
@Arebusf21 Could you attach your project's folder? |
Update: |
Don't use Java extension from Oracle. It's not compatible with the extension from Red Hat |
Building a simple HelloWorld app to test importing an external .JAR file
The Jar was built with an earlier version of the JDK but builds on the command line without issues.
The linter indicates that the import class "Media" does not exist even though the jar file has been referenced.
The App runs OK without any errors. Where are these errors being reported from? It looks as it's a Red Hat response.
Environment
Steps To Reproduce
Just load the folder containing the HelloWorld.java file into VSCode and the errors show up straight away.
Run the app with or without the debugger and it runs ok.
Source, (java file):
HelloWorld.txt
Log.pdf
settings:
settings.json
Current Result
indicates that package does not exist event though it builds ok.
Expected Result
no linting errors.
Additional Information
let me know what else I can provide
The text was updated successfully, but these errors were encountered: