{"id":1143,"date":"2017-01-13T11:50:53","date_gmt":"2017-01-13T03:50:53","guid":{"rendered":"http:\/\/blog.amjet.biz\/IT\/?p=1143"},"modified":"2017-01-13T11:51:23","modified_gmt":"2017-01-13T03:51:23","slug":"hibernate-5-project-deploy-%e5%88%b0-glassfish4-server-%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/blog.amjet.biz\/IT\/?p=1143","title":{"rendered":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c"},"content":{"rendered":"<p>\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy<\/p>\n<p>Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V<\/p>\n<p>\u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a<\/p>\n<p>\u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 <a href=\"https:\/\/agritsik.wordpress.com\/2015\/08\/26\/how-to-clear-glassfish-cache-helps-to-resolve-deployment-exception-inconsistent-module-state\/\" target=\"_blank\">\u6e05\u9664 glassfish server \u7684 cache<\/a> \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef<\/p>\n<p>\u53c3\u8003 <a href=\"http:\/\/stackoverflow.com\/questions\/34813782\/hibernate-5-glassfish-4-1-1-java-lang-nosuchmethoderror-org-jboss-logging-lo\" target=\"_blank\">\u7db2\u5740<\/a><\/p>\n<p>[ratings]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[109,133],"class_list":["post-1143","post","type-post","status-publish","format-standard","hentry","category-java","tag-glassfish","tag-java"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"vincent\"\/>\n\t<meta name=\"keywords\" content=\"glassfish,java\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.amjet.biz\/IT\/?p=1143\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"AmJet IT Blog | for IT professionals\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c | AmJet IT Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.amjet.biz\/IT\/?p=1143\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-01-13T03:50:53+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-01-13T03:51:23+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c | AmJet IT Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#article\",\"name\":\"Hibernate 5 project deploy \\u5230 glassfish4 server \\u554f\\u984c | AmJet IT Blog\",\"headline\":\"Hibernate 5 project deploy \\u5230 glassfish4 server \\u554f\\u984c\",\"author\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/#organization\"},\"datePublished\":\"2017-01-13T11:50:53+08:00\",\"dateModified\":\"2017-01-13T11:51:23+08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#webpage\"},\"articleSection\":\"Java, Glassfish, Java\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=5#listItem\",\"name\":\"Developer\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=5#listItem\",\"position\":2,\"name\":\"Developer\",\"item\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=5\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=8#listItem\",\"name\":\"Java\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=8#listItem\",\"position\":3,\"name\":\"Java\",\"item\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=8\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#listItem\",\"name\":\"Hibernate 5 project deploy \\u5230 glassfish4 server \\u554f\\u984c\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=5#listItem\",\"name\":\"Developer\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#listItem\",\"position\":4,\"name\":\"Hibernate 5 project deploy \\u5230 glassfish4 server \\u554f\\u984c\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?cat=8#listItem\",\"name\":\"Java\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/#organization\",\"name\":\"AmJet Digital\",\"description\":\"for IT professionals\",\"url\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?author=2#author\",\"url\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?author=2\",\"name\":\"vincent\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8c6bcd6e8e7e1c9bce74184354da4a5c294d71657c7abc161841c4799d1b1a46?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"vincent\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#webpage\",\"url\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143\",\"name\":\"Hibernate 5 project deploy \\u5230 glassfish4 server \\u554f\\u984c | AmJet IT Blog\",\"description\":\"\\u5728 Glassfish 4.1.1 server \\u4e0a\\u6703\\u51fa\\u73fe\\u4ee5\\u4e0b Exception \\u800c\\u7121\\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\\\/lang\\\/String;I)V \\u4e3b\\u8981\\u662f Hibernate 5 \\u9700\\u8981 jboss-logging-3.3.0.Final.jar \\u800c glassfish module \\u76ee\\u9304\\u5167\\u7684 jboss-logging.jar \\u7248\\u672c\\u6bd4\\u8f03\\u820a \\u89e3\\u6c7a\\u7684\\u65b9\\u6cd5\\u662f\\u5c07 jboss-logging-3.3.0.Final.jar copy \\u5230 glassfish module \\u76ee\\u9304\\u5167\\uff0c\\u518d\\u5c07\\u539f\\u672c\\u7684 jar \\u6a94\\u6539\\u540d\\uff0c\\u8655\\u7406\\u597d\\u5f8c\\u8981 \\u6e05\\u9664 glassfish server \\u7684 cache \\uff0c\\u518d\\u91cd\\u65b0\\u555f\\u52d5 glassfish server \\u5373\\u53ef \\u53c3\\u8003 \\u7db2\\u5740 [ratings]\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?p=1143#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/?author=2#author\"},\"datePublished\":\"2017-01-13T11:50:53+08:00\",\"dateModified\":\"2017-01-13T11:51:23+08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/#website\",\"url\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/\",\"name\":\"AmJet IT Blog\",\"description\":\"for IT professionals\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.amjet.biz\\\/IT\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c | AmJet IT Blog","description":"\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]","canonical_url":"https:\/\/blog.amjet.biz\/IT\/?p=1143","robots":"max-image-preview:large","keywords":"glassfish,java","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#article","name":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c | AmJet IT Blog","headline":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c","author":{"@id":"https:\/\/blog.amjet.biz\/IT\/?author=2#author"},"publisher":{"@id":"https:\/\/blog.amjet.biz\/IT\/#organization"},"datePublished":"2017-01-13T11:50:53+08:00","dateModified":"2017-01-13T11:51:23+08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#webpage"},"isPartOf":{"@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#webpage"},"articleSection":"Java, Glassfish, Java"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT#listItem","position":1,"name":"Home","item":"https:\/\/blog.amjet.biz\/IT","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?cat=5#listItem","name":"Developer"}},{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?cat=5#listItem","position":2,"name":"Developer","item":"https:\/\/blog.amjet.biz\/IT\/?cat=5","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?cat=8#listItem","name":"Java"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?cat=8#listItem","position":3,"name":"Java","item":"https:\/\/blog.amjet.biz\/IT\/?cat=8","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#listItem","name":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?cat=5#listItem","name":"Developer"}},{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#listItem","position":4,"name":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.amjet.biz\/IT\/?cat=8#listItem","name":"Java"}}]},{"@type":"Organization","@id":"https:\/\/blog.amjet.biz\/IT\/#organization","name":"AmJet Digital","description":"for IT professionals","url":"https:\/\/blog.amjet.biz\/IT\/"},{"@type":"Person","@id":"https:\/\/blog.amjet.biz\/IT\/?author=2#author","url":"https:\/\/blog.amjet.biz\/IT\/?author=2","name":"vincent","image":{"@type":"ImageObject","@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/8c6bcd6e8e7e1c9bce74184354da4a5c294d71657c7abc161841c4799d1b1a46?s=96&d=mm&r=g","width":96,"height":96,"caption":"vincent"}},{"@type":"WebPage","@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#webpage","url":"https:\/\/blog.amjet.biz\/IT\/?p=1143","name":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c | AmJet IT Blog","description":"\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/blog.amjet.biz\/IT\/#website"},"breadcrumb":{"@id":"https:\/\/blog.amjet.biz\/IT\/?p=1143#breadcrumblist"},"author":{"@id":"https:\/\/blog.amjet.biz\/IT\/?author=2#author"},"creator":{"@id":"https:\/\/blog.amjet.biz\/IT\/?author=2#author"},"datePublished":"2017-01-13T11:50:53+08:00","dateModified":"2017-01-13T11:51:23+08:00"},{"@type":"WebSite","@id":"https:\/\/blog.amjet.biz\/IT\/#website","url":"https:\/\/blog.amjet.biz\/IT\/","name":"AmJet IT Blog","description":"for IT professionals","inLanguage":"en-US","publisher":{"@id":"https:\/\/blog.amjet.biz\/IT\/#organization"}}]},"og:locale":"en_US","og:site_name":"AmJet IT Blog | for IT professionals","og:type":"article","og:title":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c | AmJet IT Blog","og:description":"\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]","og:url":"https:\/\/blog.amjet.biz\/IT\/?p=1143","article:published_time":"2017-01-13T03:50:53+00:00","article:modified_time":"2017-01-13T03:51:23+00:00","twitter:card":"summary","twitter:title":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c | AmJet IT Blog","twitter:description":"\u5728 Glassfish 4.1.1 server \u4e0a\u6703\u51fa\u73fe\u4ee5\u4e0b Exception \u800c\u7121\u6cd5 deploy Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava\/lang\/String;I)V \u4e3b\u8981\u662f Hibernate 5 \u9700\u8981 jboss-logging-3.3.0.Final.jar \u800c glassfish module \u76ee\u9304\u5167\u7684 jboss-logging.jar \u7248\u672c\u6bd4\u8f03\u820a \u89e3\u6c7a\u7684\u65b9\u6cd5\u662f\u5c07 jboss-logging-3.3.0.Final.jar copy \u5230 glassfish module \u76ee\u9304\u5167\uff0c\u518d\u5c07\u539f\u672c\u7684 jar \u6a94\u6539\u540d\uff0c\u8655\u7406\u597d\u5f8c\u8981 \u6e05\u9664 glassfish server \u7684 cache \uff0c\u518d\u91cd\u65b0\u555f\u52d5 glassfish server \u5373\u53ef \u53c3\u8003 \u7db2\u5740 [ratings]"},"aioseo_meta_data":{"post_id":"1143","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-23 23:27:41","updated":"2025-06-05 09:46:40","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.amjet.biz\/IT\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.amjet.biz\/IT\/?cat=5\" title=\"Developer\">Developer<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.amjet.biz\/IT\/?cat=8\" title=\"Java\">Java<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.amjet.biz\/IT"},{"label":"Developer","link":"https:\/\/blog.amjet.biz\/IT\/?cat=5"},{"label":"Java","link":"https:\/\/blog.amjet.biz\/IT\/?cat=8"},{"label":"Hibernate 5 project deploy \u5230 glassfish4 server \u554f\u984c","link":"https:\/\/blog.amjet.biz\/IT\/?p=1143"}],"_links":{"self":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/1143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1143"}],"version-history":[{"count":2,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/1143\/revisions"}],"predecessor-version":[{"id":1145,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/1143\/revisions\/1145"}],"wp:attachment":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}