• 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: 34666
366
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