[
https://issues.apache.org/jira/browse/NIFI-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15613636#comment-15613636
]
ASF GitHub Bot commented on NIFI-2812:
--------------------------------------
Github user trixpan commented on the issue:
https://github.com/apache/nifi/pull/1047
@fidget83 - thanks for the contribution.
@joaohf - muito obrigadopelo feedback. :wink:
Notes: created RPM. did diff between LGTM, will merge later today.
> 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
> 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)