Tejas Mehta [
https://community.jboss.org/people/tmehta] created the discussion
"Re: Accessing spring beans that are deployed in a war."
To view the discussion, visit:
https://community.jboss.org/message/829606#829606
--------------------------------------------------------------
Hello Bas Ven,
For your first post could you check in your jboss management (
http://127.0.0.1:9990/management http://127.0.0.1:9990/management) to make sure that the
Commander factory is indeed registered with JNDI. Also for sportsclub, I am not sure where
you downloaded the sportsclub example, but you could try from here:
https://github.com/snowdrop/snowdrop-examples/tree/master/sportsclub
https://github.com/snowdrop/snowdrop-examples/tree/master/sportsclub (with the spring
version you are using), these are the most up to date.
As for the spring jars conflicting, you could try adding a jboss-deployment-structure.xml
file in your WEB-INF dir, with contents:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<exclusions>
<module name="org.springframework.spring"
slot="snowdrop"/>
</exclusions>
</deployment>
</jboss-deployment-structure>
Cheers,
Tejas M.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/829606#829606]
Start a new discussion in Snowdrop at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]