Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I have a web project configured in MyEclipse and deployed to Weblogic server. The web project uses Spring framework. I also wrote a Spring Junit Test class to test the classes within the web project. To run this JUnitTest class, I selected “Run as JUnit” and got error message “Launching (Error: Test type does not exist)”. I have junit.jar included in my web project’s library. Why do I get this error? Do I need to create a separate Java Project and run it as a Java project? Or do I need some other stuff that’s specific for Spring?
Where does the type “Test” come from? If it comes from the junit.jar file, then just make sure it is in your java build path under the libraries tab somewhere.
And no you don’t need to create a new project, running a JUnit test is the same thing as running a normal file anywhere in Eclipse, wether it be a Java Project, Web Project, etc.