meetuparchive / apple-of-my-iap

Apple In-App Purchase Client and Mock Service
MIT License
30 stars 8 forks source link

'No main class detected' #9

Closed christianpbrink closed 8 years ago

christianpbrink commented 8 years ago

I'm not experienced using Scala or the JVM, so this may be a dumb question, but what would I do about this?

> run
java.lang.RuntimeException: No main class detected.
    at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last apple-of-my-iap/compile:run for the full output.
[error] (apple-of-my-iap/compile:run) No main class detected.
[error] Total time: 0 s, completed Jun 16, 2016 9:07:48 AM

Thanks!

dlin303 commented 8 years ago

It looks like you may not be in the correct sbt sub project. After you fire up sbt, set the project to the iap-service sub project by typing project iap-service. Then try the run command.

ex:


$ sbt
> project iap-service
> run
christianpbrink commented 8 years ago

Nice, thanks! Will be digging in on Monday.

On Thu, Jun 16, 2016 at 10:42 AM, Daron Lin notifications@github.com wrote:

It looks like you may not be in the correct sbt sub project. After you fire up sbt, set the project to the iap-service sub project by typing project iap-service. Then try the run command.

ex:

$ sbt

project iap-service run

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/meetup/apple-of-my-iap/issues/9#issuecomment-226506396, or mute the thread https://github.com/notifications/unsubscribe/AAbap1KtHwWsSWoBJzJfrWD1GEA59B7sks5qMWDugaJpZM4I3XdB .