Github user ahutsunshine commented on the issue:

    https://github.com/apache/griffin/pull/470
  
    @guoyuepeng 
    If we keep and update  hibernate_mysql_pom.xml, we'd better make it similar 
to pom.xml. So we need to **update** 
    ```      
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    ```
    **to**
    ```
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <exclusions>
            <exclusion>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-logging</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    ```
    and **update** 
    ```
    <dependency>
        <groupId>org.apache.hive</groupId>
        <artifactId>hive-metastore</artifactId>
        <version>${hive.version}</version>
    </dependency>
    ```
    **to** 
    ```
    <dependency>
        <groupId>org.apache.hive</groupId>
        <artifactId>hive-metastore</artifactId>
        <version>${hive.version}</version>
        <exclusions>
                <exclusion>
                        <groupId>org.eclipse.jetty.aggregate</groupId>
                        <artifactId>jetty-all</artifactId>
                </exclusion>
                <exclusion>
                        <groupId>org.eclipse.jetty.orbit</groupId>
                        <artifactId>javax.servlet</artifactId>
                </exclusion>
                <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                </exclusion>
                <exclusion>
                        <groupId>de.ruedigermoeller</groupId>
                        <artifactId>fst</artifactId>
                </exclusion>
        </exclusions>
    </dependency>
    ```.
    The first update is to prevent dependency conflicts and the second update 
is to remove some dependencies and prevent `Caused by: 
java.lang.NoSuchMethodError: 
org.eclipse.jetty.servlet.ServletMapping.setDefault` when using Griffin for the 
first time.


---

Reply via email to