{"id":175,"date":"2010-03-25T08:43:10","date_gmt":"2010-03-25T13:43:10","guid":{"rendered":"http:\/\/www.dpriver.com\/blog\/?p=175"},"modified":"2011-09-26T21:42:27","modified_gmt":"2011-09-27T02:42:27","slug":"java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser","status":"publish","type":"post","link":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/","title":{"rendered":"Java nosuchmethoderror when run demo application of General SQL Parser"},"content":{"rendered":"<p>If you compile demo applications shipped with General SQL Parser Java version library\u00a0 &#8220;by hand&#8221;    (typing <code>javac<\/code> and <code>java<\/code> 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.<\/p>\n<p><strong>set classpath=.;%classpath%;.\/gsp.jar<\/strong><\/p>\n<p>Make sure the first thing in this list should be the <em>current directory<\/em>,      which is represented in windows just as it is in Unix, as a single  period.<\/p>\n<p>For more information about classpath, you can <a href=\"http:\/\/leepoint.net\/notes-java\/background\/13files_and_directories\/20classpath.html\">check it here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you compile demo applications shipped with General SQL Parser Java version library\u00a0 &#8220;by hand&#8221; (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.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":5}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java nosuchmethoderror when run demo application of General SQL Parser<\/title>\n<meta name=\"description\" content=\"Java nosuchmethoderror when run demo application of General SQL Parser\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java nosuchmethoderror when run demo application of General SQL Parser\" \/>\n<meta property=\"og:description\" content=\"Java nosuchmethoderror when run demo application of General SQL Parser\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and Data Blog\" \/>\n<meta property=\"article:published_time\" content=\"2010-03-25T13:43:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-09-27T02:42:27+00:00\" \/>\n<meta name=\"author\" content=\"James\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#organization\",\"name\":\"SQL and Data Blog\",\"url\":\"https:\/\/www.dpriver.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png\",\"contentUrl\":\"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png\",\"width\":251,\"height\":72,\"caption\":\"SQL and Data Blog\"},\"image\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#website\",\"url\":\"https:\/\/www.dpriver.com\/blog\/\",\"name\":\"SQL and Data Blog\",\"description\":\"SQL related blog for database professional\",\"publisher\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dpriver.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/\",\"url\":\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/\",\"name\":\"Java nosuchmethoderror when run demo application of General SQL Parser\",\"isPartOf\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#website\"},\"datePublished\":\"2010-03-25T13:43:10+00:00\",\"dateModified\":\"2011-09-27T02:42:27+00:00\",\"description\":\"Java nosuchmethoderror when run demo application of General SQL Parser\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.dpriver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java nosuchmethoderror when run demo application of General SQL Parser\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/\"},\"author\":{\"name\":\"James\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/7bbdbb6e79c5dd9747d08c59d5992b04\"},\"headline\":\"Java nosuchmethoderror when run demo application of General SQL Parser\",\"datePublished\":\"2010-03-25T13:43:10+00:00\",\"dateModified\":\"2011-09-27T02:42:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/\"},\"wordCount\":95,\"publisher\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#organization\"},\"articleSection\":[\"gsp\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/7bbdbb6e79c5dd9747d08c59d5992b04\",\"name\":\"James\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eeddf4ca7bdafa37ab025068efdc7302?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eeddf4ca7bdafa37ab025068efdc7302?s=96&d=mm&r=g\",\"caption\":\"James\"},\"sameAs\":[\"http:\/\/www.dpriver.com\"],\"url\":\"https:\/\/www.dpriver.com\/blog\/author\/james\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java nosuchmethoderror when run demo application of General SQL Parser","description":"Java nosuchmethoderror when run demo application of General SQL Parser","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/","og_locale":"en_US","og_type":"article","og_title":"Java nosuchmethoderror when run demo application of General SQL Parser","og_description":"Java nosuchmethoderror when run demo application of General SQL Parser","og_url":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/","og_site_name":"SQL and Data Blog","article_published_time":"2010-03-25T13:43:10+00:00","article_modified_time":"2011-09-27T02:42:27+00:00","author":"James","twitter_card":"summary_large_image","twitter_misc":{"Written by":"James"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.dpriver.com\/blog\/#organization","name":"SQL and Data Blog","url":"https:\/\/www.dpriver.com\/blog\/","sameAs":[],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png","contentUrl":"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png","width":251,"height":72,"caption":"SQL and Data Blog"},"image":{"@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/www.dpriver.com\/blog\/#website","url":"https:\/\/www.dpriver.com\/blog\/","name":"SQL and Data Blog","description":"SQL related blog for database professional","publisher":{"@id":"https:\/\/www.dpriver.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dpriver.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/","url":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/","name":"Java nosuchmethoderror when run demo application of General SQL Parser","isPartOf":{"@id":"https:\/\/www.dpriver.com\/blog\/#website"},"datePublished":"2010-03-25T13:43:10+00:00","dateModified":"2011-09-27T02:42:27+00:00","description":"Java nosuchmethoderror when run demo application of General SQL Parser","breadcrumb":{"@id":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dpriver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Java nosuchmethoderror when run demo application of General SQL Parser"}]},{"@type":"Article","@id":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/#article","isPartOf":{"@id":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/"},"author":{"name":"James","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/7bbdbb6e79c5dd9747d08c59d5992b04"},"headline":"Java nosuchmethoderror when run demo application of General SQL Parser","datePublished":"2010-03-25T13:43:10+00:00","dateModified":"2011-09-27T02:42:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dpriver.com\/blog\/2010\/03\/java-nosuchmethoderror-when-run-demo-application-of-general-sql-parser\/"},"wordCount":95,"publisher":{"@id":"https:\/\/www.dpriver.com\/blog\/#organization"},"articleSection":["gsp"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/7bbdbb6e79c5dd9747d08c59d5992b04","name":"James","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eeddf4ca7bdafa37ab025068efdc7302?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eeddf4ca7bdafa37ab025068efdc7302?s=96&d=mm&r=g","caption":"James"},"sameAs":["http:\/\/www.dpriver.com"],"url":"https:\/\/www.dpriver.com\/blog\/author\/james\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts\/175"}],"collection":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":5,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":179,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts\/175\/revisions\/179"}],"wp:attachment":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}