将Primefaces扩展添加到Netbeans Ant项目

时间:2013-09-20 10:43:58

标签: netbeans primefaces primefaces-extensions

我有一个用Netbeans开发的蚂蚁项目。我想添加primefaces扩展。我下载了jar文件并将其添加为扩展名,但是存在依赖项错误。有没有办法在不使用maven的情况下添加primefaces扩展名?

SEVERE:   Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: 
  Source Document: jar:file:/D:/SC/ruhunu/build/web/WEB-INF/lib/primefaces-extensions-1.0.0.RC1.jar!/META-INF/faces-config.xml
  Cause: Class 'org.primefaces.extensions.component.masterdetail.MasterDetailRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/primefaces/component/menuitem/UIMenuItem

1 个答案:

答案 0 :(得分:0)

下载common-lang3.3.1.jar并将其添加到项目库