This repository was archived by the owner on Apr 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 195
Troubleshooting
Andrew Philpot edited this page May 9, 2014
·
16 revisions
Things to check:
- You have the correct version of Java (see installation instructions)
- Recreate your Maven repository cache, by removing the
m2
directory. The files are in the following places:- Unix/Mac OS X –
~/.m2
- Windows –
C:\Documents and Settings\{your-username}\.m2
- Unix/Mac OS X –
Make sure you have JDK 1.7 and JAVA_HOME environment variable points to it.
Karma uses the default port of 8080 which may already be in use by your system. Try a different port say 9999 using mvn -Djetty.port=9999 jetty:run
Download MySQL JDBC driver and place in your CLASSPATH and edit karma-jdbc/pom.xml to include a section such as:
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>X.Y.Z</version>
</dependency>
where X.Y.Z is the version of the library obtained from MySQL/Oracle