Minecraft error message: The game crashed while initializing game Error: java.lang.NoClassDefFoundError: scala / collection / Seq?

Pl
1

Minecraft error message: The game crashed while initializing game Error: java.lang.NoClassDefFoundError: scala / collection / Seq?

Pl

I can start a normal minecraft. However, I can't play mods anymore.

I switched from NVIDIA graphics to AMD. Windows 10 was reinstalled, etc. Before that everything went. Is this due to the AMD graphics card?