You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for disturbing but I followed the guide and the project doesn't work it said that "No main class detected". The following code contains the result of each command.
C:\Users\Nouha\pra>sbt test
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Loading project definition from C:\Users\Nouha\pra\project
[info] Set current project to pra (in build file:/C:/Users/Nouha/pra/)
[info] ScalaTest
[info] Run completed in 57 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 0
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] No tests were executed.
[success] Total time: 1 s, completed 13 dÚc. 2018 14:51:12
C:\Users\Nouha\pra>sbt "run Users\Nouha\pra"
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Loading project definition from C:\Users\Nouha\pra\project
[info] Set current project to pra (in build file:/C:/Users/Nouha/pra/)
java.lang.RuntimeException: No main class detected.
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) No main class detected.
[error] Total time: 0 s, completed 13 dÚc. 2018 14:51:48
Waiting for your reply.
Thank you !
The text was updated successfully, but these errors were encountered:
Hello,
Sorry for disturbing but I followed the guide and the project doesn't work it said that "No main class detected". The following code contains the result of each command.
Waiting for your reply.
Thank you !
The text was updated successfully, but these errors were encountered: