我從朋友那裏得到了一個項目。在Windows 7上,一切工作正常,但是當我切換到Windows XP時,出現「IOException:設備未就緒」錯誤。Scala Play Framework IOException錯誤
一些細節: 的Windows XP NTFS文件系統
可通過播放錯誤堆棧:
Unexpected exception
IOException: Device not ready
No source available, here is the exception stack trace:
->java.io.IOException: Urządzenie nie jest gotowe
java.io.WinNTFileSystem.canonicalize0(Native Method)
java.io.Win32FileSystem.canonicalize(Unknown Source)
java.io.File.getCanonicalPath(Unknown Source)
sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2$$anonfun$apply$3.apply(Incremental.scala:225)
sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2$$anonfun$apply$3.apply(Incremental.scala:222)
scala.Option.map(Option.scala:133)
sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2.apply(Incremental.scala:222)
sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2.apply(Incremental.scala:221)
scala.Option.flatMap(Option.scala:146)
sbt.inc.Incremental$$anonfun$externalBinaryModified$1.apply(Incremental.scala:221)
sbt.inc.Incremental$$anonfun$externalBinaryModified$1.apply(Incremental.scala:217)
scala.collection.TraversableLike$$anonfun$filter$1.apply(TraversableLike.scala:252)
scala.collection.MapLike$DefaultKeySet$$anonfun$foreach$2.apply(MapLike.scala:171)
scala.collection.MapLike$DefaultKeySet$$anonfun$foreach$2.apply(MapLike.scala:171)
scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:178)
scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:347)
scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:171)
scala.collection.TraversableLike$class.filter(TraversableLike.scala:251)
scala.collection.MapLike$DefaultKeySet.filter(MapLike.scala:165)
sbt.inc.Incremental$.changedInitial(Incremental.scala:99)
sbt.inc.Incremental$.compile(Incremental.scala:21)
sbt.inc.IncrementalCompile$.apply(Compile.scala:20)
sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96)
sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44)
sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:31)
sbt.Compiler$.apply(Compiler.scala:79)
sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:572)
sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:572)
sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)
sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)
scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
sbt.std.Transform$$anon$5.work(System.scala:71)
sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
sbt.Execute.work(Execute.scala:238)
sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
java.util.concurrent.FutureTask.run(Unknown Source)
java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
任何幫助嗎?我已經爲項目中的所有文件和文件夾設置了讀/寫配置。
所以,爲了確保我明白:人們應該調試你的代碼而不會看到它,或者對你想要做的事情有任何想法嗎?沒有代碼,沒有框架版本,只是堆棧跟蹤。 – vptheron
所以你期待我在這裏包含所有的50 MB代碼?我寫道,我從我的朋友那裏得到了這些代碼,但它並不適用於我的情況。我敢肯定,它不是自己創建任何文件,但可能是chaching機制? 無論如何:我認爲StackOverflow的社區會幫助,我在這裏看到的只有仇敵和blamers。偉大的工作「傢伙」。 – user3257442