We will need to create a new folder under ReactiveWebStore/app
called reports
. Then, we will copy all three new .jrxml
files from the Jaspersoft Studio to this folder and set up the build dependencies.
First of all, we will need to add new dependencies to the build.sbt
file.
Your build.sbt
file should look like this after adding the Jasper dependencies:
libraryDependencies ++= Seq( // .... Other dependencies .... "net.sf.jasperreports" % "jasperreports" % "6.2.2" withSources() ,"net.sf.jasperreports" % "jasperreports-functions" % "6.2.2", "net.sf.jasperreports" % "jasperreports-chart-themes" % "6.2.2" ) resolvers += "Jasper" at "https://jaspersoft.artifactoryonline.com/jaspersoft/repo/" resolvers += "JasperSoft" at "https://jaspersoft.artifactoryonline.com/jaspersoft/jaspersoft- repo/" resolvers += "Jasper3rd" at ...