79574488

Date: 2025-04-15 06:30:53
Score: 0.5
Natty:
Report link

I had this same issue after a Windows update restarted my machine with Eclipse still running. When I restarted Eclipse, it was complaining about not being able to find java.sql.Connection.

No amoount of Maven dancing (Alt-F5, Select All, Refresh), starting Eclipse -clean or other jiggery pokery did anything, until I went into Window, Preferences, Java, Compiler, and I selected a Compliance Level other than the one listed (and supported for my JDK) and clicked Apply And Close.

This warns about a rebuild, but it was the rebuild that fixed the issue

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gwaptiva