Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.10.0
-
centos 7
mvn 3.6.0
java 1.8.0_212 openjdk
-
Important
Description
Hi NIFI team,
I have been trying to run NIFI in a local debugging environment by following this [tutorial|https://nifi.apache.org/quickstart.html]
When I do mvn -T C2.0 clean install, The test cases failed.(some spring context test case) I then did a mvn clean and
mvn install -DskipTests
I successfully build it but then when I run ./nifi.sh start, Nifi could not start so I check the nifi-app.log and here is the first error:
2019-07-12 09:37:53,881 INFO [main] o.e.j.s.handler.ContextHandler._nifi_api Initializing Spring root WebApplicationContext
2019-07-12 09:40:01,659 ERROR [main] o.s.web.context.ContextLoader Context initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 19 in XML document from class path resource [nifi-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 139; cvc-elt.1: Cannot find the declaration of element 'beans'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
Now I am really stuck at this stage. Any help would be greatly appreciated!
Please let me know if you need additional information!
Attachments
Attachments
Issue Links
- relates to
-
NIFI-6454 Upgrade Spring beans dependency to take advantage of mapped HTTPS XSD resources to embedded files
- Resolved
- links to