3

Hello I am using eclipse Mars and I have the following message error generated :

Caused by: java.lang.Error: Unresolved compilation problems
The import java.time cannot be resolved
LocalDateTime cannot be resolved to a type
LocalDateTime cannot be resolved

I just would like to solve the problem I think I should use JDK 8 but i don't know to use it in eclipse.

mazouu rahim
  • 113
  • 1
  • 2
  • 8

1 Answers1

0

Make sure Build automatically is checked and Clean. If it doesn't work, restart Eclipse and do again.

Abdelhak
  • 8,299
  • 4
  • 22
  • 36