Compilation issues


#1

once i do compilation usng sbt… i get these errors
object apache is not a member of package org
[error] import org.apache.spark.sql.Row;
[error] ^
object apache is not a member of package org
[error] import org.apache.spark.sql.types.{StructType,StructField,StringType};
[error] ^
object apache is not a member of package org
[error] import org.apache.spark.sql.types.{StructType, StructField, StringType, IntegerType};
[error] ^

have added the dependcies in build.sbt alsostill facing issues pls fix this


#2

Need help immediately pls… as I have to package and send it to one of the projects


#3

Hi @anbu,
Please check scala, sbt and spark versions in Intellij. There could be compatible issues from your side.If not please share the screenshot and specify the versions of each one.


#4

Hello Sravan,

Im running from command sbt .follwed instruction as in udemy CCA 175 16 chap . attached screen shot… Kindly provide support … i have to give the package today as delivery

image


#5

Hi @anbu,
I have followed the procedure mentioned in the video and sbt package was running successfully on my account. please follow exactly mentioned directory structure from the video. We have to create a project(orderRevenue.scala) in src/main/scala. In my case, you can see the project screenshot.


#6

HI Sravan Thank you… once i place build.sbt inside the location where my code resides and ran sbt package it went through.
thank you once again