[
https://issues.apache.org/jira/browse/NIFI-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516601#comment-15516601
]
ASF GitHub Bot commented on NIFI-2812:
--------------------------------------
Github user trixpan commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1047#discussion_r80255144
--- Diff: nifi-assembly/pom.xml ---
@@ -505,11 +510,18 @@ language governing permissions and limitations under
the License. -->
<directory>/opt/nifi/nifi-${project.version}/lib</directory>
<dependency>
<excludes>
+
<exclude>net.minidev:asm</exclude>
+
<exclude>asm:asm</exclude>
+
<exclude>org.bouncycastle:bcpkix-jdk15on</exclude>
+
<exclude>com.fasterxml.jackson.core:jackson-annotations</exclude>
--- End diff --
seems to be absent from tar file? Sure it is required?
> 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)