From issues-return-81315-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Thu Jul 18 13:44:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8A248180685 for ; Thu, 18 Jul 2019 15:44:04 +0200 (CEST) Received: (qmail 27993 invoked by uid 500); 18 Jul 2019 13:44:02 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 27940 invoked by uid 99); 18 Jul 2019 13:44:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2019 13:44:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 467AFE2EF3 for ; Thu, 18 Jul 2019 13:44:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7F92F26595 for ; Thu, 18 Jul 2019 13:44:00 +0000 (UTC) Date: Thu, 18 Jul 2019 13:44:00 +0000 (UTC) From: "David Sargrad (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-6439) web.context.ContextLoader Context initialization failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-6439?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16887= 989#comment-16887989 ]=20 David Sargrad commented on NIFI-6439: ------------------------------------- Interesting link(s) on STACK =C2=A0 [https://stackoverflow.com/questions/13814321/cannot-find-the-declaration-o= f-element-beans] > web.context.ContextLoader Context initialization failed > ------------------------------------------------------- > > Key: NIFI-6439 > URL: https://issues.apache.org/jira/browse/NIFI-6439 > Project: Apache NiFi > Issue Type: Bug > Components: Configuration, Tools and Build > Environment: centos 7=20 > mvn 3.6.0=20 > java 1.8.0_212 openjdk=20 > Reporter: Zinan Ma > Priority: Major > Labels: build > Attachments: image-2019-07-15-08-21-51-633.png, image-2019-07-16-= 09-09-36-005.png, image-2019-07-18-09-16-16-488.png > > Original Estimate: 96h > Remaining Estimate: 96h > > Hi NIFI team, > I have been trying to run NIFI in a local debugging environment by follow= ing this [tutorial|[https://nifi.apache.org/quickstart.html]] > When I do=C2=A0mvn -T C2.0 clean install, The test cases failed.(some spr= ing context test case) I then did a mvn clean=C2=A0and > mvn install -DskipTests > I successfully build it but then when I run ./nifi.sh start, Nifi could n= ot start so I check the nifi-app.log and here is the first error: > {color:#d04437}=C2=A02019-07-12 09:37:53,881 INFO [main] o.e.j.s.handler.= ContextHandler._nifi_api Initializing Spring root WebApplicationContext{col= or} > {color:#d04437}2019-07-12 09:40:01,659 ERROR [main] o.s.web.context.Conte= xtLoader Context initialization failed{color} > {color:#d04437}org.springframework.beans.factory.xml.XmlBeanDefinitionSto= reException: Line 19 in XML document from class path resource [nifi-context= .xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNu= mber: 19; columnNumber: 139; cvc-elt.1: Cannot find the declaration of elem= ent 'beans'.{color} > {color:#d04437} at org.springframework.beans.factory.xml.XmlBeanDefinitio= nReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399){color} > {color:#d04437} at org.springframework.beans.factory.xml.XmlBeanDefinitio= nReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336){color} > {color:#d04437} at org.springframework.beans.factory.xml.XmlBeanDefinitio= nReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304){color} > {color:#d04437} at org.springframework.beans.factory.support.AbstractBean= DefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)= {color} > {color:#d04437} at org.springframework.beans.factory.support.AbstractBean= DefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)= {color} > {color:#d04437} at org.springframework.beans.factory.support.AbstractBean= DefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)= {color} > !image-2019-07-12-16-49-56-584.png! > =C2=A0 > Now I am really stuck at this stage. Any help would be greatly appreciate= d! > Please let me know if you need additional information! -- This message was sent by Atlassian JIRA (v7.6.14#76016)