Downloading jquery library to project Error:java: Illegal char <:> at index 4: http:\api.jquery.com

After submiting a report to Intellij Idea I got an answer, that JS libraries are added to the Java classpath which is a bug, and to fix thit problem I need to do next: Project settings (ctrl+alt+shift+s by default) -> Modules -> in "Modules" select "Dependencies" -> find jquery dependency -> delete jquery dependency -> click "apply"


I had same problem but deleting dependency did not help. I had to go to global libraries and delete jquery library as well.