Play Framework error: package org.json does not exist

To resolve this open the file project/Build.scala;


import sbt._
import Keys._
import play.Project._

object ApplicationBuild extends Build {

val appName = "APP_NAME"
 val appVersion = "1.0-SNAPSHOT"

val appDependencies = Seq(
 // Add your project dependencies here,
 javaCore,
 javaJdbc,
 javaEbean

//ADD YOUR org.json DEPENDENCY HERE:

,"org.json"%"org.json"%"chargebee-1.0"
 )

val main = play.Project(appName, appVersion, appDependencies).settings(
 // Add your own project settings here
 )

}

To better understand the Build.scala logic, please visit: here
Thank you.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s