Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Troubleshooting

Andrew Philpot edited this page May 9, 2014 · 16 revisions
  1. Cannot Compile Karma

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
  1. I get Fatal error compiling: invalid target release: 1.7 when I try to run Karma

Make sure you have JDK 1.7 and JAVA_HOME environment variable points to it.

  1. It says "Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.0.5.v20130815:run (default-cli) on project webkarma: Failure: Address already in use"

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

  1. I get java.lang.ClassNotFoundException: com.mysql.jdbc.Driver when I load a table from MySQL

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

Clone this wiki locally