Hive报错:自定义函数找不到第三方jar包 : com/alibaba/fastjson/JSON

时间:2025-04-02 22:29:09

 方法2: 文件添加配置打jar包同时将第三方jar包一起打包

<dependency>

        <groupId>xxxxx</groupId>

        <artifactId>xxxxx</artifactId>

        <version>xxx</version>

        <scope>compile</scope> 加这个配置provided不打入jar包,compile会打入jar包

</dependency>