错误500:javax.servlet.ServletException:org.primefaces.model.TreeNode在websphere上部署

时间:2014-10-22 12:24:52

标签: java maven jsf primefaces websphere

最近我将我的web应用程序项目与maven集成,之前工作正常。在集成,我发现这个错误,我不知道。我检查了我的pom.xml中是否缺少任何依赖项,但所有必需项都已存在。我真的不知道如何继续或如何调试我的问题。我可以使用maven解雇所有命令并获得构建成功。这是我与maven的初步阶段,并将请求这里的专业知识,以指导我正确的方向。下面是我的POM源代码。

以下是我的错误日志:

Faces Servlet: javax.servlet.ServletException: org.primefaces.model.TreeNode
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:221)

我的网络路径条目的类:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src/test/java"/>
    <classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
    <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
    <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="var" path="M2_REPO/asm/asm-commons/3.3/asm-commons-3.3.jar"/>
    <classpathentry kind="var" path="M2_REPO/asm/asm-tree/3.3/asm-tree-3.3.jar"/>
    <classpathentry kind="var" path="M2_REPO/asm/asm/3.3/asm-3.3.jar"/>
    <classpathentry kind="lib" path="C:/Program Files/Java/jdk1.6.0_34/lib/tools.jar"/>
    <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.2/antlr-2.7.2.jar"/>
    <classpathentry kind="var" path="M2_REPO/junit/junit/4.11/junit-4.11.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/primefaces/primefaces/5.0/primefaces-5.0.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/easymock/easymock/2.4/easymock-2.4.jar"/>
    <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.17/log4j-1.2.17.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/testng/testng/6.8.8/testng-6.8.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/>
    <classpathentry kind="var" path="M2_REPO/com/beust/jcommander/1.27/jcommander-1.27.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/mockito/mockito-all/1.9.5/mockito-all-1.9.5.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/struts/struts2-core/2.3.16.3/struts2-core-2.3.16.3.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/struts/xwork/xwork-core/2.3.16.3/xwork-core-2.3.16.3.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar"/>
    <classpathentry kind="var" path="M2_REPO/ognl/ognl/3.0.6/ognl-3.0.6.jar"/>
    <classpathentry kind="var" path="M2_REPO/javassist/javassist/3.11.0.GA/javassist-3.11.0.GA.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/freemarker/freemarker/2.3.19/freemarker-2.3.19.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/2.2/commons-io-2.2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/tiles/tiles-core/2.0.6/tiles-core-2.0.6.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/tiles/tiles-api/2.0.6/tiles-api-2.0.6.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/>
    <classpathentry kind="var" path="M2_REPO/opensymphony/xwork/2.0.3/xwork-2.0.3.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/>
    <classpathentry kind="var" path="M2_REPO/opensymphony/ognl/2.6.11/ognl-2.6.11.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/struts/struts2-convention-plugin/2.3.16.3/struts2-convention-plugin-2.3.16.3.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/struts/struts-taglib/1.3.10/struts-taglib-1.3.10.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/struts/struts-core/1.3.10/struts-core-1.3.10.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-chain/commons-chain/1.2/commons-chain-1.2.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar"/>
    <classpathentry kind="var" path="M2_REPO/oro/oro/2.0.8/oro-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/json/json/20140107/json-20140107.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/protocol/arquillian-protocol-servlet/1.1.4.Final/arquillian-protocol-servlet-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/container/arquillian-container-spi/1.1.4.Final/arquillian-container-spi-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/core/arquillian-core-spi/1.1.4.Final/arquillian-core-spi-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/core/arquillian-core-api/1.1.4.Final/arquillian-core-api-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/config/arquillian-config-api/1.1.4.Final/arquillian-config-api-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-api-base/2.0.0-alpha-5/shrinkwrap-descriptors-api-base-2.0.0-alpha-5.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/config/arquillian-config-impl-base/1.1.4.Final/arquillian-config-impl-base-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-spi/2.0.0-alpha-5/shrinkwrap-descriptors-spi-2.0.0-alpha-5.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/easytesting/fest-assert/1.4/fest-assert-1.4.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/easytesting/fest-util/1.1.6/fest-util-1.1.6.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/shrinkwrap/shrinkwrap-api/1.2.2/shrinkwrap-api-1.2.2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/container/arquillian-container-test-api/1.1.4.Final/arquillian-container-test-api-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/container/arquillian-container-test-spi/1.1.4.Final/arquillian-container-test-spi-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/test/arquillian-test-spi/1.1.4.Final/arquillian-test-spi-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/test/arquillian-test-api/1.1.4.Final/arquillian-test-api-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/junit/arquillian-junit-container/1.1.4.Final/arquillian-junit-container-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/junit/arquillian-junit-core/1.1.4.Final/arquillian-junit-core-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/core/arquillian-core-impl-base/1.1.4.Final/arquillian-core-impl-base-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/test/arquillian-test-impl-base/1.1.4.Final/arquillian-test-impl-base-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/container/arquillian-container-impl-base/1.1.4.Final/arquillian-container-impl-base-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/container/arquillian-container-test-impl-base/1.1.4.Final/arquillian-container-test-impl-base-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/shrinkwrap/shrinkwrap-impl-base/1.2.2/shrinkwrap-impl-base-1.2.2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/shrinkwrap/shrinkwrap-spi/1.2.2/shrinkwrap-spi-1.2.2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/container/arquillian-wlp-managed-8.5/1.0.0.Beta1/arquillian-wlp-managed-8.5-1.0.0.Beta1.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/testenricher/arquillian-testenricher-cdi/1.1.4.Final/arquillian-testenricher-cdi-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/testenricher/arquillian-testenricher-ejb/1.1.4.Final/arquillian-testenricher-ejb-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/testenricher/arquillian-testenricher-resource/1.1.4.Final/arquillian-testenricher-resource-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/arquillian/testenricher/arquillian-testenricher-initialcontext/1.1.4.Final/arquillian-testenricher-initialcontext-1.1.4.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/jboss/spec/javax/servlet/jboss-servlet-api_3.0_spec/1.0.2.Final/jboss-servlet-api_3.0_spec-1.0.2.Final.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/plugins/maven-eclipse-plugin/2.9/maven-eclipse-plugin-2.9.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar"/>
    <classpathentry kind="var" path="M2_REPO/classworlds/classworlds/1.1/classworlds-1.1.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-provider-api/2.1/wagon-provider-api-2.1.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-core/2.0.8/maven-core-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-parameter-documenter/2.0.8/maven-plugin-parameter-documenter-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.jar"/>
    <classpathentry kind="var" path="M2_REPO/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar"/>
    <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/reporting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-error-diagnostics/2.0.8/maven-error-diagnostics-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/commons-cli/commons-cli/1.0/commons-cli-1.0.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-descriptor/2.0.8/maven-plugin-descriptor-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-monitor/2.0.8/maven-monitor-2.0.8.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar"/>
    <classpathentry kind="var" path="M2_REPO/com/jcraft/jsch/0.1.27/jsch-0.1.27.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.jar"/>
    <classpathentry kind="var" path="M2_REPO/jline/jline/0.9.1/jline-0.9.1.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar"/>
    <classpathentry kind="var" path="M2_REPO/biz/aQute/bndlib/0.0.145/bndlib-0.0.145.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.jar"/>
    <classpathentry kind="var" path="M2_REPO/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar"/>
    <classpathentry kind="var" path="M2_REPO/javax/javaee-api/6.0/javaee-api-6.0.jar"/>
    <classpathentry combineaccessrules="false" kind="src" path="/myprojectCommon"/>
    <classpathentry combineaccessrules="false" kind="src" path="/myprojectEJB"/>
    <classpathentry combineaccessrules="false" kind="src" path="/myprojectJPA"/>
    <classpathentry kind="output" path="target/classes"/>
</classpath>

1 个答案:

答案 0 :(得分:0)

即使我有同样的问题。如果您在创建war插件时包含以下行,请检查您的POM.xml。

<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>

评论此行,然后尝试。我想你的问题应该解决了。