玻璃鱼中的部署错误 - PrimeFaces

3

当我在NetBeans中运行我的项目时一切都正常,但是当我尝试部署它时,我遇到了以下错误:

Error occurred during deployment: 

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:/C:/Users/User/Downloads/glassfish-4.0/glassfish4/glassfish/domains/domain1/applications/Zaman/WEB-INF/lib/primefaces-3.4.jar!/META-INF/faces-config.xml
Cause: Class 'org.primefaces.component.fileupload.FileUploadRenderer'
is missing a runtime dependency: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileItem. Please see server.log for more
details.

它说原因是:
Cause: Class 'org.primefaces.component.fileupload.FileUploadRenderer'
is missing a runtime dependency: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileItem.

我不知道该怎么办。
2个回答

3

谢谢。它很有帮助。应用程序已经部署,没有任何问题。但是,现在它说,在启动后,如果服务器或监听器没有运行,则链接可能无法工作。在这种情况下,请检查服务器实例的状态。在启动Web应用程序后,使用浏览器的“返回”按钮返回到此屏幕。 - user2634009
似乎是一个不同的问题,值得提出另一个问题。 - mthmulders
无论如何感谢你。最后它已经部署了。 - user2634009


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接