-
1. Re: jboss6 and spring @Resource annotation
jim.ma Nov 14, 2011 10:27 PM (in response to greenyouyou)Did you install spring jars with "
ant -Dspring=true deploy-jboss6xx" as descripbed in
http://community.jboss.org/wiki/JBossWS-Installation ? -
2. Re: jboss6 and spring @Resource annotation
greenyouyou Nov 14, 2011 10:40 PM (in response to jim.ma)No,I do not use ant in my project,I am using myeclipse to deploy,what is the role of ant -Dspring=true deploy-jboss6xx,I do not know.Trouble you and I explain in detail,Thank you.Can you tell me you email,I can discuss with you conveninetly.I hope we will become good friends.
-
3. Re: jboss6 and spring @Resource annotation
jim.ma Nov 15, 2011 9:38 PM (in response to greenyouyou)ant -Dspring=true deploy-jboss6xx will install spring jars into jboss6 applicatoin server. Then you do not need to include spring jars in your war or ear file.
-
4. Re: jboss6 and spring @Resource annotation
greenyouyou Nov 15, 2011 9:41 PM (in response to jim.ma)OK,Thank you,I will try later.
-
5. Re: jboss6 and spring @Resource annotation
greenyouyou Nov 20, 2011 8:39 PM (in response to jim.ma)hello,I tried what you say yesterday,the exception ocured again,now I show the exception message:
Neither any mapped-name/lookup/jndi-name specified nor any ResourceProvider could process resource-env- ref named env/com.xxx.xxx of type com.xxx.xxxx.
who can help me?