jboss7 发布ssh2 项目, 用spring 做事务管理
大家好:我以前没有用过jboss,最近想用jboss7发布ssh2项目, 我打开war包发布上去时找不到我在spring 定义的 service. 我用spring做事务管理。请各位帮忙看看,谢谢
09:16:00,651 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sacl]] (MSC service thread 1-8) Exception starting filter report: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'userManager' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387) [spring-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:971) [spring-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246) [spring-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168) [spring-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:238) [spring-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-2.5.6.jar:2.5.6]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880) [spring-2.5.6.jar:2.5.6]
at soy.server.web.ViewIReportServlet.init(Unknown Source:385) [soy-server-1.5.jar:]
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3865) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23] --------------------编程问答-------------------- 有人知道吗, 帮我一下啊, 谢谢 --------------------编程问答-------------------- 看什么?没看懂
welcome every Java interested friend to our 1000-persion QQ group, NO. is 167765087 --------------------编程问答-------------------- spring 注入失败 bean 中找不到 name='userManager'
没看到 和jboss有什么关系 --------------------编程问答-------------------- 这个在tomcat下运行是正常的 --------------------编程问答-------------------- 我部署一个测试工程,jboss启动正常,可是浏览器访问是404.求解?? --------------------编程问答-------------------- 没怎么用过jboss ,之前好像听说spring在jboss不能注入 --------------------编程问答-------------------- Jboss中使用Spring,需要用snowdrop,到官方下载,有文档的。
补充:Java , Java EE