title: How to run IntelliJ and Maven on OS X?
body: <p>I've got Maven to respond on IntelliJ (all env vars are set); but still -- the following error occurs:</p>
  
  <p><code>
  /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Dclassworlds.conf=/usr/local/Cellar/maven/3.0.2/bin/m2.conf -Dmaven.home=/usr/local/Cellar/maven/3.0.2 -Dfile.encoding=MacRoman -classpath  org.codehaus.classworlds.Launcher --no-plugin-registry --fail-fast --no-plugin-updates --strict-checksums --update-snapshots -f /Users/konzepz/Sites/wix/html/Express/pom.xml compile
  Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
  Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)</p>
  
  <p>Process finished with exit code 1
  </code></p>
  
  <p>Any ideas?</p>
  
  <p>Thanks!</p>