cvc-elt.1: Cannot find the declaration of element 'beans'

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 11 in XML document from file [/home/etl/node2/plugin/conf/bme.das.service.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
        at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
        at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:80)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:84)
        at com.huawei.bme.das.config.ConfigManager.initBossDataSource(ConfigManager.java:138)
        at com.huawei.bme.das.config.builder.DASXmlConfigBuilder.initialize(DASXmlConfigBuilder.java:322)
        at com.huawei.bme.das.config.builder.DASXmlConfigBuilder.configure(DASXmlConfigBuilder.java:86)
        at com.huawei.bme.das.DASServer.start(DASServer.java:91)
        at com.huawei.bi.dse.dba.DBAccessor.startDAS(DBAccessor.java:73)
        at com.huawei.bi.dse.dba.DBAccessor.<init>(DBAccessor.java:45)
        at com.huawei.bi.dse.dba.DBAccessor.getInstance(DBAccessor.java:57)
        at com.huawei.bi.dse.utils.Toolkit.<init>(Toolkit.java:52)
        at com.huawei.bi.dse.engines.GroovyEngine.runScript(GroovyEngine.java:29)
        at com.huawei.bi.dse.engines.ScriptEngine.runFile(ScriptEngine.java:175)
        at com.huawei.bi.dse.DSETaskImpl.runScript(DSETaskImpl.java:92)
        at com.huawei.bi.dse.DSETaskImpl.execute(DSETaskImpl.java:77)
        at com.huawei.etl.etlnode.custom.CustomTaskThread.executeTask(CustomTaskThread.java:193)
        at com.huawei.etl.etlnode.custom.CustomTaskThread.run(CustomTaskThread.java:81)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.

你可能感兴趣的:(java,thread,xml)