{"id":3939,"date":"2014-03-30T06:27:31","date_gmt":"2014-03-30T06:27:31","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/primefaces-snapshot-4-0-java-lang-noclassdeffounderror-org-primefaces-component-menuitem-menuitem-collection-of-common-programming-errors\/"},"modified":"2014-03-30T06:27:31","modified_gmt":"2014-03-30T06:27:31","slug":"primefaces-snapshot-4-0-java-lang-noclassdeffounderror-org-primefaces-component-menuitem-menuitem-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/primefaces-snapshot-4-0-java-lang-noclassdeffounderror-org-primefaces-component-menuitem-menuitem-collection-of-common-programming-errors\/","title":{"rendered":"Primefaces Snapshot 4.0 java.lang.NoClassDefFoundError: org\/primefaces\/component\/menuitem\/MenuItem-Collection of common programming errors"},"content":{"rendered":"<h2>Primefaces Snapshot 4.0 java.lang.NoClassDefFoundError: org\/primefaces\/component\/menuitem\/MenuItem<\/h2>\n<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/89927e2f4bde24991649b353a37678b9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBalusC<\/p>\n<p>I tested primefaces-4.0-20130907.101718-6.jar with tomcat Server Open Source Edition 8.0 rc1 and javax.faces-2.2.3.jar. I get this exception:<\/p>\n<blockquote>\n<p>java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Source Document: \/WEB-INF\/lib\/primefaces-extensions-1.0.0-20130720.041214-62.jar!\/META-INF\/faces-config.xml Cause: Class &#8216;org.primefaces.extensions.component.masterdetail.MasterDetailRenderer&#8217; is missing a runtime dependency: java.lang.NoClassDefFoundError: org\/primefaces\/component\/menuitem\/MenuItem<\/p>\n<\/blockquote>\n<p>What is wrong?<\/p>\n<p>Thank you<\/p>\n<\/li>\n<li>\n<h3>1 Answers<\/h3>\n<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f38d9d395fa1f3a8dd739fe2e10b415b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCagatay Civici<\/p>\n<p>Clearly the extensions version you have is not compatible with PrimeFaces Core version you have.<\/p>\n<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n<ul>\n<li>tagged Related<\/li>\n<li>jsf-2<\/li>\n<li>primefaces<\/li>\n<li>primefaces-extensions<\/li>\n<\/ul>\n<p>This site is an open source site, the purpose is to guide more people to practice Test-Driven Development, details click here&#8212;more<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Primefaces Snapshot 4.0 java.lang.NoClassDefFoundError: org\/primefaces\/component\/menuitem\/MenuItem BalusC I tested primefaces-4.0-20130907.101718-6.jar with tomcat Server Open Source Edition 8.0 rc1 and javax.faces-2.2.3.jar. I get this exception: java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Source Document: \/WEB-INF\/lib\/primefaces-extensions-1.0.0-20130720.041214-62.jar!\/META-INF\/faces-config.xml Cause: Class &#8216;org.primefaces.extensions.component.masterdetail.MasterDetailRenderer&#8217; is missing a runtime dependency: java.lang.NoClassDefFoundError: org\/primefaces\/component\/menuitem\/MenuItem What is wrong? Thank you 1 Answers Cagatay Civici Clearly the extensions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3939","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3939"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3939\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}