Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
同时无法生成target
解决办法:删除pom文件中的pom
原理不明
Error creating bean with name ‘hospitalSetController’: Unsatisfied dependency expressed through field ‘hospitalSetService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hospitalSetSer
resource无法打包编译,在target目录找不到,手动复制过去
本文解决了一个关于Spring框架中bean依赖注入失败的问题,特别是针对hospitalSetController与hospitalSetService之间的依赖关系。此外,还解决了资源文件无法正确打包到target目录的问题。
791

被折叠的 条评论
为什么被折叠?



