This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring dependency injection not working with Selenium

 
kalyen kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Here is what i'm doing to get automatic bean wiring for selenium and fitnesse test to run.



When i test this i get the following exception.



All other tests which doesn't use dependency injection run well.

Thanks in advance
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kalyen,
Is j2ee.jar in your classpath?
 
kalyen kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response.

The issue got resolved. I was excluding selenium-server artifact. I commented out that part. The tests are working fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic