2
votes

I basically started with the tutorial and the hello world example. Now I'm stuck where when I try to run the BasicTest (right click the test and run style), it gives me this:

play.exceptions.CompilationException: The type ApplicationTest is already defined

I don't know what this means. I'm not trying to run that test and I can't see how it's relevant to what I'm doing. I realize Play auto compiles stuff but even then I don't see why I'm getting this error. I tried doing a "play clean", I've tried deleting the compiled ApplicationTest class but nothing seems to matter.

Any ideas how to get past this?

Thanks

1

1 Answers

3
votes

Don't right-click and run the test. From the command-line, type

play test

then go to http://localhost:9000/@tests