Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

555
Views
VScode complains that Java project has no explicit encoding set

I have been using vscode with no problems until recently. Now no errors show up, some variables never change color. And I have a constant error message:

Project ... has no explicit encoding set

I have no idea what I need to do to fix it.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Just a few minutes earlier I was also having the same problem. Here is how I fixed it:

  1. Click on the Gear Icon.
  2. Click on Settings.
  3. Click on Command Palette.
  4. Type Clean java language server workspace.
  5. Hit Restart and Delete.
  6. After reloading is done, the issue will be fixed.
over 4 years ago · Santiago Trujillo Report

0

I have experienced the same problem after the Language Support for Java by Red Hat extension had been updated to v1.5.0. No code errors were reported and only the message about no explicit encoding was shown in the Problems tab.

I was able to resolve the issue by clicking the "..." next to "Java Projects" in the Explorer view, and selecting "Clean Workspace", then "Restart and delete". After the application had reloaded, the issue was gone and language server started working as usual.

over 4 years ago · Santiago Trujillo Report

0

I believe this is a bug caused by v1.5.0 Red Hat's Language Support for Java extension. Nothing I tried fixed it, so the best solution may be to wait for the extension developers to fix it.

You can follow the issue on GitHub https://github.com/redhat-developer/vscode-java/issues/2416

Update: Looks like it was caused by an upstream issue in the Eclipse JDT Language Server (which is used by the Visual Studio Code Java extension). Check the GitHub link above for details.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!