When using hsql for running test I'm getting this exception:
NoSuchMethodError: org.hsqldb.DatabaseURL.parseURL(Ljava/lang/String; ZZ)Lorg/hsqldb/persist/HsqlProperties
I found this problem in another post which links to a solution which says it's a clash between jar of version 1.8 and another of version 2.2.5.
I checked the project's libraries and the .classpath
and it only has 1.8. Also I deleted this from the classpath and still got the same exception.
Still couldn't figure it out.
You're compiling with a later version of the library, and running it with an earlier version.
The method that exists at compile time doesn't exist at runtime -> NoSuchMethodError.
Solution: Use the same library at runtime.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With