Friday, December 4, 2015

How to get rid of irritating SocketExceptions in TestNG?

2:28 PM

While running your TestNG classes you may encounter some Exception like

java.net.SocketException: Software caused connection abort: socket write error

to avoid the SocketException in Eclipse please do the following changes.


  • Go to Windows from Menu Bar in Eclipse.
  • Select Preferences.
  • It will open a new window.
  • Choose TestNg and uncheck Use Project TestNG Jar.
  • Click apply and click OK.



0 comments :

Post a Comment

 

© 2014 DieHardTechy . All rights resevered. Designed by Diehardtechy