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/07/27 21:39:12
![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](/uploads/image/z/12883128-24-8.jpg?t=At+least+one+base+package+must+be+specified%2C%E8%BF%99%E4%B8%AA%E6%98%AF%E5%93%AA%E9%87%8C%E5%87%BA%E4%BA%86%E9%97%AE%E9%A2%98%2C%E4%B8%A5%E9%87%8D%3AException+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!
希望对你有所帮助!