reset password
Author Message
onlinerajnish
Posts: 21
Posted 00:06 Jan 31, 2016 |

Professor,

   How to solve this error when I try to run DepartmentDAOTest java file?

org.testing.TestNGException: cannot instantiate class gapp.model.dao.DepartmentDAOTest

I have already that DepartmentDAOTest in test model. is there any plugin error or anything else i have to do?

Last edited by onlinerajnish at 00:07 Jan 31, 2016.
cysun
Posts: 2935
Posted 09:26 Jan 31, 2016 |

Read the error message carefully - it says it cannot find a commons-logging class.

You can add a commons-logging dependency to fix the problem, but I don't think it's needed if you got the right versions of the dependencies specified in the guide, so I'd check the versions and groupId of your dependencies first.