You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
Caused by: java.lang.ClassNotFoundException: org.hamcrest.Matcher
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
The reason is because the following jars are not packaged in KSQL:
Workaround
The workaround is to copy the required jars into the confluent/ksql classpath. For instance, being /opt/confluent/confluent-5.3.1/share/java/ksql the classpath:
$ cd /opt/confluent/confluent-5.3.1/share/java/ksql
$ wget https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar
$ wget https://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar
This bug is found since the 5.3.x branch.
The text was updated successfully, but these errors were encountered:
I've marked this as a blocker for 5.4, which strictly speaking it isn't as its already broken in 5.3. But we should really get the testing tool into a usable state for this release.
When executing the
ksql-test-runner
from a packaged confluent installation, the following error is thrown:$ ./ksql-test-runner -s /tmp/statements.sql -i /tmp/input.json -o /tmp/output.json
The reason is because the following jars are not packaged in KSQL:
In 5.3.1, the
kafka-clients-5.3.1-css
is not found either:Workaround
The workaround is to copy the required jars into the confluent/ksql classpath. For instance, being
/opt/confluent/confluent-5.3.1/share/java/ksql
the classpath:This bug is found since the
5.3.x
branch.The text was updated successfully, but these errors were encountered: