zoukankan      html  css  js  c++  java
  • Flink打包生成安装包缺少jar包

    官方默认打包生成的安装包的flink-release-1.7.0flink-dist argetflink-1.7.0-binflink-1.7.0lib下缺少jar

    flink-dist项目修改两个配置文件,添加需要打入到安装包的jar包

    flink-release-1.7.0flink-distsrcmainassembliesin.xml

    <dependencySets>
    <dependencySet>
    <outputDirectory>lib</outputDirectory>
    <unpack>false</unpack>
    <useProjectArtifact>false</useProjectArtifact>
    <useProjectAttachments>false</useProjectAttachments>
    <useTransitiveDependencies>true</useTransitiveDependencies>
    <useTransitiveFiltering>true</useTransitiveFiltering>
    
    <includes>
    <include>org.slf4j:slf4j-log4j12</include>
    <include>log4j:log4j</include>
    <include>com.sun.jersey:jersey-core</include>
    <include>org.codehaus.janino:commons-compiler</include>
    <include>org.codehaus.janino:janino</include>
    </includes>
    </dependencySet>
    </dependencySets>

    flink-release-1.7.0flink-distpom.xml

    <!-- Concrete logging framework - we add this only here (and not in the
    root POM) to not tie the projects to one specific framework and make
    it easier for users to swap logging frameworks -->
    <dependency>
    <groupId>com.sun.jersey</groupId>
    <artifactId>jersey-core</artifactId>
    <version>1.9</version>
    </dependency>
    
    <dependency>
    <groupId>org.codehaus.janino</groupId>
    <artifactId>commons-compiler</artifactId>
    <version>3.0.7</version>
    </dependency>
    
    <dependency>
    <groupId>org.codehaus.janino</groupId>
    <artifactId>janino</artifactId>
    <version>3.0.7</version>
    </dependency>
    
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
    <scope>compile</scope>
    </dependency>
    
    <dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <scope>compile</scope>
    </dependency>
  • 相关阅读:
    web.xml
    web.xml hello1代码分析
    annotation
    injection
    container
    build tool
    version control
    url与uri的区别
    函数式语言
    http协议解析过程
  • 原文地址:https://www.cnblogs.com/felixzh/p/10423470.html
Copyright © 2011-2022 走看看