This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am currently working on a project with Hibernate and Spring, and I have made some JUnit classes to test the interaction with database. When I try yo run the test: right click-> run as-> JUnit test, I get the following error:
"The input type of the launch configuration does not exist".
Does anybody know what are the configurations? I haven't done any configurations, I just created a new JUnit class that derives from TestCase
This has happened to me today, and I've found what was wrong. I had created a folder where I put my test classes (which were developed in another IDE). The problem is that this folder wasn't created as a "source folder". You can easily tell whether your test folder is a source folder: in the package explorer, check out the icon for that folder. It should be the same as for the src folder. So if that was your problem too, right click on the project node, select New... and then Source folder. Then just put your tests in that folder.