sparkSQL腳本更改問題

相應的pom依賴文件java

<dependencies> <!--  <dependency>    <groupId>org.apache.storm</groupId>    <artifactId>storm-core</artifactId>    <version>0.9.2-incubating</version>    <scope>provided</scope>  </dependency>   -->  <dependency>    <groupId>org.scala-lang</groupId>    <artifactId>scala-library</artifactId>    <version>2.11.0</version>  </dependency>  <dependency>    <groupId>org.scala-lang</groupId>    <artifactId>scala-compiler</artifactId>    <version>2.11.0</version>  </dependency>  <dependency>    <groupId>org.scala-lang</groupId>    <artifactId>scala-reflect</artifactId>    <version>2.11.0</version>  </dependency>  <dependency>    <groupId>org.apache.spark</groupId>    <artifactId>spark-hive_2.11</artifactId>    <version>2.0.0</version>  </dependency>  <dependency>    <groupId>org.apache.spark</groupId>    <artifactId>spark-core_2.11</artifactId>    <version>2.0.0</version>  </dependency>  <dependency>    <groupId>org.apache.spark</groupId>    <artifactId>spark-sql_2.11</artifactId>    <version>2.0.0</version>  </dependency>  <dependency>    <groupId>mchange-commons-java</groupId>    <artifactId>mchange-commons-java</artifactId>    <version>0.2.11</version>    <scope>system</scope>    <systemPath>${project.basedir}/libs/mchange-commons-java-0.2.11.jar</systemPath>  </dependency>  <dependency>    <groupId>mysql-connector-java</groupId>    <artifactId>mysql-connector-java</artifactId>    <version>5.1.38</version>    <scope>system</scope>    <systemPath>${project.basedir}/libs/mysql-connector-java-5.1.38-bin.jar</systemPath>  </dependency>    <dependency>        <groupId>com.microsoft.sqlserver</groupId>        <artifactId>sqljdbc4</artifactId>        <version>4.0</version>        <scope>system</scope>        <systemPath>${project.basedir}/libs/sqljdbc4-4.0.jar</systemPath>    </dependency></dependencies>
相關文章
相關標籤/搜索