Open
Description
I followed https://bigdl-project.github.io/master/#ScalaUserGuide/run/#run-as-a-local-javascala-program to run lenetLocal, command is "java -cp xxxx" and below is the exception:
Exception in thread "main" java.lang.NoClassDefFoundError: scala/reflect/api/TypeCreator
at com.intel.analytics.bigdl.models.lenet.LeNet5$.apply(LeNet5.scala:26)
at com.intel.analytics.bigdl.example.lenetLocal.Train$$anonfun$main$1.apply(Train.scala:51)
at com.intel.analytics.bigdl.example.lenetLocal.Train$$anonfun$main$1.apply(Train.scala:37)
at scala.Option.map(Option.scala:145)
If I change the command to "scala -cp xxxx", it can work. Looks like we need to fix the exception or update the document to clarify that lenetlocal should run with scala.