Author | Message |
---|---|
afetiso
Posts: 84
|
Posted 20:36 Jul 11, 2015 |
I have mistake when I am trying run testNG: FAILED CONFIGURATION: @BeforeClass springTestContextPrepareTestInstance Maybe you can help me to point how to fix it? It is just one test code for testing: There are a total of two job positions in the system. it is similar to UserDaoTest, so I think it is ok that I am add it here @Test(groups = "PositionDaoTest") @Autowired |
cysun
Posts: 2935
|
Posted 22:59 Jul 11, 2015 |
The error message says: No qualifying bean of type [csjobs.model.dao.PositionDao] found for dependency So check if @Repository is there in PositionDaoImpl, and also make sure there's something like These things should become clear after the Spring lectures next week. |