-2

I already added in pom.xml but when run the program it produce error " couldn't load main class? code: https://github.com/ali2210/Mxnet reference: https://mxnet.incubator.apache.org/tutorials/scala/mxnet_scala_on_intellij.html

Patryk Rudnicki
  • 755
  • 1
  • 8
  • 21
Ali Hassan
  • 39
  • 1
  • 12

1 Answers1

1

First of all, you have unnecessary ] in a link to Github (Your link doesn't work).

You need to add object App extends App instead of object App

or define main method def main(args: Array[String]): Unit = { } inside App object

Patryk Rudnicki
  • 755
  • 1
  • 8
  • 21