File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes spring dependency injection not working with Selenium Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "spring dependency injection not working with Selenium" Watch "spring dependency injection not working with Selenium" New topic
Author

spring dependency injection not working with Selenium

kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
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

Joined: May 26, 2003
Posts: 30957
    
158

Kalyen,
Is j2ee.jar in your classpath?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
Thanks for your response.

The issue got resolved. I was excluding selenium-server artifact. I commented out that part. The tests are working fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spring dependency injection not working with Selenium