简体   繁体   中英

sbt error: couldn't find or load main class ***********

I tried to run project from this link . However, when I am running this project in sbt there is an error :

Could not find or load main class *****

This is how my build.sbt file looks like :

name := "play-example-login"

version := "1.0-SNAPSHOT"

libraryDependencies ++= seq(
javaJdbc,
javaEbean,
cache
)

play.Project.playJavasettings

I am newbie to java playframework, and unable to figure out what to change. I guess problem is in my sbt path variable. Thank-you in Advance.

I try to run project from your link. That ok. You can run direct this project at cmd

activator run

在此处输入图片说明

This is good example !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM