Highlighted
Super Contributor.
Super Contributor.
191 views

log4j class not found in generated LeanFT jar

I generate jar file from LeanFT project with maven-assembly-plugin plugin. I use java -jar to execute jar. I got error message:

log4j: WARN JmDNS or serviceInfo not found

I tried to use path to jar in -classpath, but got same error.

Plugin configuration:

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>3.1.0</version>
        <executions>
            <execution>
                <id>make-assembly</id>
                <phase>package</phase>
                <goals>
                    <goal>single</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <archive>
                <manifest>
                    <mainClass>test.LeanFTest</mainClass>
                </manifest>
            </archive>
            <finalName>${project.artifactId}-fatjar-${project.version}</finalName>
            <appendAssemblyId>false</appendAssemblyId>
            <descriptors>
                <descriptor>src/main/assembly/leanft-assembly.xml</descriptor>
            </descriptors>
        </configuration>
    </plugin>

 

0 Likes
2 Replies
Highlighted
Respected Contributor.
Respected Contributor.

Hi Kovacsakos,

Hope you are doing excellent!

Could you please let me know the following information?

 

- Version of LeanFT?

- Did you install LeanFT with UFT?

- This was working before?

 

Best regards,

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Hello,

I use LeanFT 14.02 and it was installed with UFT installer. No, it not yet worked earlier.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.