Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

559
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda