3.7.3版本生成示例代码报错
3.7.3版本中 示例功能:招聘管理我通过生成表单 找到了 这个招聘管理的 主表 附表。
通过主表生成代码,代码生成后,重启项目 出现如下错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jformResumeInfoController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.wz.zx.platform.jformresumeinfo.service.JformResumeInfoServiceI com.wz.zx.platform.jformresumeinfo.controller.JformResumeInfoController.jformResumeInfoService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
具体错误见图
麻烦管理帮忙看下,谢谢。
看下常见问题贴 代码生成器用法,扫描路径是否配置 admin 发表于 2018-3-21 19:37 static/image/common/back.gif
看下常见问题贴 代码生成器用法,扫描路径是否配置
谢谢~ 确实是 spring-mvc-hibernate.xml 没注入包 本帖最后由 457775123 于 2018-3-21 21:28 编辑
admin 发表于 2018-3-21 19:37 static/image/common/back.gif
看下常见问题贴 代码生成器用法,扫描路径是否配置
还要麻烦您一下,我配置好后404通过断点。发现 在这一句开始 报错~ 后台什么东西都没输出,前台404
看了tomcat里 是有前端页面的
return new ModelAndView("com/wz/zx/platform/jformResumeinfo/jformResumeInfoList"); 看看页面在不在 admin 发表于 2018-3-21 21:49 static/image/common/back.gif
看看页面在不在
在的啊
页:
[1]