scala - error while importing SBT sources - [error] (/:dumpStructure) java.net.URISyntaxException: -
i have error when try import new sbt/scala project intellij idea :
[info] resolving org.scala-sbt#main-settings;0.13.15 ...
[info] resolving org.scala-lang#scala-library;2.12.2 ...
[info] resolving org.scala-lang#scala-reflect;2.12.2 ...
[info] resolving org.scala-lang.modules#scala-xml_2.12;1.0.6 ...
[info] resolving org.scala-lang#scala-compiler;2.12.2 ...
[info] resolving jline#jline;2.14.3 ...
[error] (/:dumpstructure) java.net.urisyntaxexception: illegal character in path @ index 23: file:/c:/users/marouane ayad/.sbt/preloaded/
[error] total time: 1 s, completed 26 juil. 2017 00:18:38
java hotspot(tm) 64-bit server vm warning: ignoring option maxpermsize=384m; support removed in 8.0
any ideas cause of problem ?
use path without spaces. instead of c:/users/marouane ayad/.sbt/preloaded/
use eg. c:/users/marouane_ayad/.sbt/preloaded/
. space not allowed in uri syntax. alternatively, if configuration allows it, can uri-encode space %20
, marouane%20ayad
.
Comments
Post a Comment