Spark application throws javax.servlet.FilterRegistration

后端 未结 7 1026
别跟我提以往
别跟我提以往 2020-12-30 01:57

I\'m using Scala to create and run a Spark application locally.

My build.sbt:

name : \"SparkDemo\"
version : \"1.0\"
scalaVersion : \"2.10.4\"
librar         


        
7条回答
  •  礼貌的吻别
    2020-12-30 02:37

    If you are using IntelliJ IDEA, try this:

    1. Right click the project root folder, choose Open Module Settings
    2. In the new window, choose Modules in the left navigation column
    3. In the column rightmost, select Dependencies tab, find Maven: javax.servlet:servlet-api:2.5
    4. Finally, just move this item to the bottom by pressing ALT+Down.

    It should solve this problem.

    This method came from http://wpcertification.blogspot.ru/2016/01/spark-error-class-javaxservletfilterreg.html

提交回复
热议问题