I've seen others have this problem (on forums etc.). The most common solution is to make sure you are using a JDK and that JAVA_HOME is set to the JDK.
I wrote a *.bat file ...Code:-vm C:\Program Files\java\jdk1.6.0_27\bin\javaw.exe
That gives me ...Code:echo %JAVA_HOME%
but when trying to build the file, I still get:
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project WorkingMemory: Execution default of goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile failed: Plugin org.codehaus.mojo:aspectj-maven-plugin:1.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.4.2 at specified path C:\Program Files\Java\jre6/../lib/tools.jar -> [Help 1]
Another member of my team compiles the same project, no problem ... Only real difference between our machines is that I'm running 64-bit currently and he is on 32-bit windows (7). I have trouble believing that it's just 32 vs 64 bit that would be the issue.
Thanks in advance!