I had the same issue. IIRC solution was to remove on old w3c lib from intellij libraries shown after pressing Alt-1. Sorry, not close to my dev system and too long ago, i forgot details. Ping here again if you can't figure this out and I try to dig deeper.