我有一个用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
答案 0 :(得分:0)
下载common-lang3.3.1.jar
并将其添加到项目库