[ 
https://issues.apache.org/jira/browse/NIFI-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629293#comment-15629293
 ] 

ASF subversion and git services commented on NIFI-2812:
-------------------------------------------------------

Commit 511f2a0c8bcae5a588073cfb34dbdafb5ee478c3 in nifi's branch 
refs/heads/master from Artem Ermakov
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=511f2a0 ]

[NIFI-2812] Fix creating NiFi RPM

This closes: PR 1047
This resolves: NIFI-2812

Signed-off-by: Andre F de Miranda <trix...@users.noreply.github.com>


> 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)

Reply via email to