You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andre (JIRA)" <ji...@apache.org> on 2016/11/02 15:32:59 UTC

[jira] [Updated] (NIFI-2812) Error when start nifi after installation from rpm

     [ https://issues.apache.org/jira/browse/NIFI-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre updated NIFI-2812:
------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Error when start nifi after installation from rpm
> -------------------------------------------------
>
>                 Key: NIFI-2812
>                 URL: https://issues.apache.org/jira/browse/NIFI-2812
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: 1.1.0
>         Environment: Centos 7
>            Reporter: Artem Yermakov
>            Assignee: Andre
>            Priority: Critical
>             Fix For: 1.1.0
>
>
> 1. Build nifi-assembly with profile rpm (mvn clean install -DskipTests -Prpm)
> 2. Install created rpm on server
> 3. Run NiFi
> Error:
> [username@srv-2162219 bin]# ./nifi.sh start
> ./nifi.sh: line 24: ./nifi-env.sh: No such file or directory
> If copy this file from build manually, we got the next error in nifi-app.log:
> 2016-09-23 11:42:57,482 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 117 properties from /opt/nifi/nifi-1.1.0-SNAPSHOT/./conf/nifi.properties
> 2016-09-23 11:42:57,502 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
> java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
> 	at org.apache.nifi.properties.ProtectedNiFiProperties.getProtectedPropertyKeys(ProtectedNiFiProperties.java:222) ~[nifi-properties-loader-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
> 	at org.apache.nifi.properties.ProtectedNiFiProperties.<init>(ProtectedNiFiProperties.java:66) ~[nifi-properties-loader-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
> 	at org.apache.nifi.properties.ProtectedNiFiProperties.<init>(ProtectedNiFiProperties.java:75) ~[nifi-properties-loader-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)