At least one base package must be specified,这个是哪里出了问题,严重:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefin

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 19:51:21
At least one base package must be specified,这个是哪里出了问题,严重:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefin

At least one base package must be specified,这个是哪里出了问题,严重:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefin
At least one base package must be specified,这个是哪里出了问题,
严重:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException:Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.IllegalArgumentException:At least one base package must be specified at org

At least one base package must be specified,这个是哪里出了问题,严重:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefin
我也遇到这个问题了!最开始我以为是我的架包没有导入完整,我从头检查了遍,并没发现什么问题,当我坚持spring.xml配置文件的时候发现《》 base-package=" 这里没写入要扫描的包",加入之后重新发布,运行OK!
希望对你有所帮助!