1

I am running java spring boot in VSCode IDE , but if I edit something while running VSCode give an error "Unresolved compilation[Screenshot of the error][1]".

I think the IDE cannot read the java file after modification.

Someone can tell me why is it happening ? [1]: [https://i.stack.imgur.com/bw3s8.png][1]

1 Answers1

1

Your question is vague but it sounds like you haven't installed the necessary plugins. Here's the documentation for setting up VS Code for Java.

https://code.visualstudio.com/docs/languages/java

UPDATE: Looking at the screenshot in your updated question, you can find the answer in this post. Basically the DatatypeConverter class is not part of the JDK Java 9 onwards.

How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException in Java 9

steven35
  • 3,747
  • 3
  • 34
  • 48