Closed thak123 closed 6 years ago
It builds fine for me and it also seems to build fine in Travis CI. Could you please give me some more information on the error you’re getting?
On Nov 2, 2017, 11:49 PM -0400, Gaurish Thakkar notifications@github.com, wrote:
the latest code is unable to build using sbt. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
[warn] Unable to reparse org.platanios#tensorflow_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn] Nov 06 05:57:09 IST 2017 [warn] Unable to reparse org.platanios#tensorflow-jni_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn] Nov 06 05:55:48 IST 2017 [warn] Unable to reparse org.platanios#tensorflow-api_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn] Nov 06 05:58:06 IST 2017 [warn] Unable to reparse org.platanios#tensorflow-data_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn] Nov 06 05:57:50 IST 2017 [warn] Unable to reparse org.platanios#tensorflow-jni_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn] Nov 06 05:55:48 IST 2017 [warn] Unable to reparse org.platanios#tensorflow-data_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn] Nov 06 05:57:50 IST 2017 [warn] Unable to reparse org.platanios#tensorflow-api_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn] Nov 06 05:58:06 IST 2017 [warn] Unable to reparse org.platanios#tensorflow_2.11;0.1.0-SNAPSHOT from sonatype-snapshots, using Mo[warn]
Error:Error while importing SBT project:
...
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:70) [error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:52) [error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:37) [error] at sbt.MainLoop$.runLogged(MainLoop.scala:29) [error] at sbt.StandardMain$.runManaged(Main.scala:104) [error] at sbt.xMain.run(Main.scala:71) [error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) [error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128) [error] at xsbt.boot.Launch$.run(Launch.scala:109) [error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) [error] at xsbt.boot.Launch$.launch(Launch.scala:117) [error] at xsbt.boot.Launch$.apply(Launch.scala:18) [error] at xsbt.boot.Boot$.runImpl(Boot.scala:41) [error] at xsbt.boot.Boot$.main(Boot.scala:17) [error] at xsbt.boot.Boot.main(Boot.scala) [error] java.lang.ClassNotFoundException: org.jetbrains.sbt.CreateTasks$ [error] Use 'last' for the full log. [error] Not a valid key: dump-structure (similar: buildStructure) [error] /:dump-structure [error] ^
@thak123 I'm not sure what the problem is but it doesn't seem to be related to tensorflow for Scala. It looks like it has to do with your IntelliJ setup for SBT. Are you able to run other Scala projects using IntelliJ and SBT fine?
yes. I am able to build other projects. I tried using commandline and got this error [error] java.lang.RuntimeException: No main class detected.
its fixed with latest build.. please close the issue
@thak123 Great, thanks! :)
the latest code is unable to build using sbt.