quartz在web容器单独加载applicationContext-quartz.xml报错

Nokids 2014-01-15 10:38:34
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'printInfoService' defined in URL [jar:file:/E:/workspace/workspace_my/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wiztek/WEB-INF/lib/wiztek-test.jar!/applicationContext-quartz.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: entityManagerFactory or jpaTemplate is required
由于是单独新建的applicationContext-quartz.xml spring openjpa的配置都在applicationContext.xml里面
提示找不到entityManagerFactory or jpaTemplate is required
...全文
112 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

5,655

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧