Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Problems with idea running Exception in thread "main" java.lang

Shulou Source: shulou.com Published: 2022-06-03 05:25:57 11月24日 Update

Problems with idea running Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.immutable.HashSet$

This type of error is mainly caused by the inconsistency between the version of scala running in the environment and the version of scala in idea. Just change them to the same version, but many newcomers don't know how to do it. Here's how to do it.

One is to install it with existing plug-ins.

The other is online installation.

Create a new project after that

And then it's done.

Tags: Run version time problem same consistent done great work plug-in newcomer environment error project online Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Information MariaDB Shulou Technology OPPO Reno