[size=12] Oi amigos …
Estou com uma aplicacao que usa Sprig + Hibernate + Jsf …
No Jboss , gera o seguinte erro :
[/size]
ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in ServletContext resource [/WEB-INF/spring-config.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.transaction.config.internalTransactionAdvisor’: Cannot create inner bean ‘(inner bean)’ of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property ‘transactionInterceptor’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)’: Cannot resolve reference to bean ‘txManager’ while setting bean property ‘transactionManager’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘txManager’ defined in ServletContext resource [/WEB-INF/spring-config.xml]: Cannot resolve reference to bean ‘entityManagerFactory’ while setting bean property ‘entityManagerFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘entityManagerFactory’ defined in ServletContext resource [/WEB-INF/spring-config.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: error trying to scan : vfsfile:/home/cti/carlossouza/Desktop/jboss-5.1.0.GA/server/default/deploy/GEDE.war/WEB-INF/classes/
[color=red]Pergunta, ha alguma configuração que de ser feita especificamente quando se usa " Spring " no " Jboss " .
Pois funciona sem problemas com Tomcat, mas quando coloco a aplicação no Jboss gera esse erro …
[size=12]Ja procurei a web, mas nada … [/size][/color]
[size=12] Alguem ja passou por isso , … agradeço a ajuda …[/size]