Java nosuchmethoderror when run demo application of General SQL Parser

If you compile demo applications shipped with General SQL Parser Java version library  “by hand” (typing javac and java in a command window). Make sure set your classpath library correctly before compile and run demo applications, otherwise, there will be a Java nosuchmethoderror exception.

set classpath=.;%classpath%;./gsp.jar

Make sure the first thing in this list should be the current directory, which is represented in windows just as it is in Unix, as a single period.

For more information about classpath, you can check it here.

Newsletter Updates

Enter your email address below to subscribe to our newsletter