Information: the 15-9-10 - Compilation afternoon laying completed with 21 errors and zero warnings in 978 ms
/root/workspace/MySpace/SRC/JavaSparkSQL. Java
Error: (26, 28) Java: package org. Apache. Spark. SQL does not exist
Error: (27, 28) Java: package org. Apache. Spark. SQL does not exist
Error: (28, 28) Java: package org. Apache. Spark. SQL does not exist
Error: (57, 5) Java: can't find the symbols
Symbol: class SQLContext
Location: class JavaSparkSQL
CodePudding user response:
Check whether pom, all packages are to rely onCodePudding user response:
Lz, to share, to support youCodePudding user response:
Pom file all wrote, 'folder as well, it is the spark is there - the core spark - jar package but was unable to parse SQL?????? WhyCodePudding user response:
Check whether pom file are introduced, as well as the version problem, need to go scala2.11 don't scala2.12