Hi,

I'm using STS 2.6.0.SR1. I have a Java project, with a Maven directory structure. I have test files in my src/test/java directory. I added this folder as a source folder, but I'm still getting compilation errors …

http://screencast.com/t/An2eytJDNZ

Namely, the error "The declared package 'com.criticalmass.infinitiusa.tests' does not match the expected package 'test.java.com.criticalmass.infinitiusa.tests'" complaining about my package declaration. Everything runs fine from the command line (e.g. "mvn test").

Can you tell me how to repair my setup so this compilation error goes away? - Dave