{"id":67,"date":"2007-07-19T14:44:54","date_gmt":"2007-07-19T05:44:54","guid":{"rendered":"http:\/\/www.rutake.com\/mywordpress\/?p=67"},"modified":"2007-07-19T14:44:54","modified_gmt":"2007-07-19T05:44:54","slug":"noclassdeffounderror%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%82%92%e6%8e%a2%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2007\/07\/19\/noclassdeffounderror%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%82%92%e6%8e%a2%e3%82%8b\/","title":{"rendered":"NoClassDefFoundError\u306e\u539f\u56e0\u3092\u63a2\u308b"},"content":{"rendered":"<p>\u672c\u756a\u74b0\u5883\u306bUP\u3059\u308b\u6642\u306a\u3069\u74b0\u5883\u304c\u5909\u308f\u3063\u305f\u3068\u304d\u306b\u906d\u9047\u3057\u3084\u3059\u3044\u3053\u306e\u30a8\u30e9\u30fc<\/p>\n<p>\u958b\u767a\u6642\u306f\u554f\u984c\u306a\u304b\u3063\u305f\u306e\u306b\u3044\u3056\u672c\u756a\u3067\u51fa\u308b\u3068\u3073\u3073\u308b\u4e0a\u306b\u3060\u3044\u305f\u3044\u305d\u3046\u3044\u3046\u6642\u306f\u30c6\u30f3\u30d1\u30ea\u30e2\u30fc\u30c91000\uff05<br \/>\n\u306a\u306e\u3067\u51b7\u9759\u306a\u5224\u65ad\u304c\u3067\u304d\u306a\u3044\u3060\u308d\u3046\u3002<\/p>\n<p>\u3057\u304b\u3057\u7d50\u5c40\u306e\u3068\u3053\u308d\u30af\u30e9\u30b9\u30d1\u30b9\u306e\u8a2d\u5b9a\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u306e\u304c\u307b\u3068\u3093\u3069\u306a\u306e\u3067\u30af\u30e9\u30b9\u30d1\u30b9\u3092\u5217\u6319\u3055\u305b\u3066\u307f\u308b\u3068\u3044\u3044\u3002<br \/>\n\u305f\u3068\u3048\u3070jsp\u306a\u3089\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5165\u308c\u3066\u307f\u308b\u3002<\/p>\n<p>&lt;%<br \/>\n\/\/\u30af\u30e9\u30b9\u30d1\u30b9\u8868\u793a<br \/>\nString classpath = System.getProperty(&#8220;java.class.path&#8221;);<br \/>\njava.util.StringTokenizer st = new java.util.StringTokenizer(classpath,&#8221;;&#8221;);<br \/>\nwhile (st.hasMoreTokens()){<br \/>\nout.println(st.nextToken() + &#8220;&lt;br&amp;gt&#8221;);<br \/>\n}<\/p>\n<p>%&gt;<\/p>\n<p>\u305d\u3057\u3066\u304d\u3061\u3093\u3068\u52d5\u304f\u74b0\u5883\u306e\u30af\u30e9\u30b9\u30d1\u30b9\u3068\u6bd4\u8f03\u3057\u3066\u307f\u308b\u3002<br \/>\n\u30af\u30e9\u30b9\u30d1\u30b9\u304c\u307e\u3063\u305f\u304f\u4e00\u7dd2\u306a\u306e\u306b\u52d5\u304b\u306a\u3044\u5834\u5408\u306fJAR\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u304d\u3061\u3093\u3068\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\uff1f<br \/>\n\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u3067\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3068\u306a\u308b\u306e\u3067\u6c17\u3065\u304f\u304c\u3001\u5b9f\u884c\u74b0\u5883\u3067\u306f\u30af\u30e9\u30b9\u3092\u30ed\u30fc\u30c9\u3059\u308b\u3068\u304d\u307e\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u3044\u306e\u3067\u5384\u4ecb\u3060\u3002<\/p>\n<p>\u305f\u3044\u3066\u3044\u306e\u5834\u5408\u306b\u304a\u3044\u3066\u958b\u767a\u74b0\u5883\u306b\u306f\u305f\u304f\u3055\u3093JAR\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u3063\u3066\u3044\u3066\u3069\u308c\u304c\u3069\u308c\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u304b\u308f\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u3001<br \/>\n\u5fc5\u8981\u306aJAR\u3092\u672c\u756a\u74b0\u5883\u306b\u30b3\u30d4\u30fc\u3057\u5fd8\u308c\u3066\u3053\u306e\u30a8\u30e9\u30fc\u306b\u906d\u9047\u3059\u308b\u3068\u3044\u3046\u30b1\u30fc\u30b9\u3082\u591a\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u756a\u74b0\u5883\u306bUP\u3059\u308b\u6642\u306a\u3069\u74b0\u5883\u304c\u5909\u308f\u3063\u305f\u3068\u304d\u306b\u906d\u9047\u3057\u3084\u3059\u3044\u3053\u306e\u30a8\u30e9\u30fc \u958b\u767a\u6642\u306f\u554f\u984c\u306a\u304b\u3063\u305f\u306e\u306b\u3044\u3056\u672c\u756a\u3067\u51fa\u308b\u3068\u3073\u3073\u308b\u4e0a\u306b\u3060\u3044\u305f\u3044\u305d\u3046\u3044\u3046\u6642\u306f\u30c6\u30f3\u30d1\u30ea\u30e2\u30fc\u30c91000\uff05\u306a\u306e\u3067\u51b7\u9759\u306a\u5224\u65ad\u304c\u3067\u304d\u306a\u3044\u3060\u308d\u3046\u3002 \u3057\u304b\u3057\u7d50\u5c40\u306e\u3068\u3053\u308d\u30af\u30e9\u30b9\u30d1\u30b9\u306e\u8a2d\u5b9a\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u306e\u304c\u307b\u3068\u3093\u3069\u306a\u306e\u3067\u30af\u30e9\u30b9\u30d1\u30b9\u3092\u5217\u6319\u3055\u305b\u3066\u307f\u308b\u3068\u3044&#8230; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2007\/07\/19\/noclassdeffounderror%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%82%92%e6%8e%a2%e3%82%8b\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[51,63,405,102],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/67"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":0,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}