我指的是以下網頁的基礎上的Jetspeed我的portlet 2. 一切都很好,但在部署後,它says- 無法檢索簡單的portlet定義::最簡單的失靈jetspeed的部署簡單的portlet
以下是Jetspeed的-deployment.log盒內 03.11.2011 18時21分51秒ERROR [org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent():240]失敗部署E:\的Jetspeed-2.2.2 \ webapps \ jetspeed \ WEB-INF \ deploy \ simplest.war 04.11.2011 09:41:33 ERROR [org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch():273] java.lang.IllegalArgumentException:WEB- INF/portlet.xml中 org.apache.jetspeed.deployment.DeploymentException:java.lang.IllegalArgumentException異常:WEB-INF/portlet.xml中 在org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.deployPortletApplication(DeployPortletAppEventListener.java:224) 在有機apache.jetspeed.deployment.impl.DeployPortletAppEventListener.invokeDeploy(DeployPortletAppEventListener.java:207) at org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch(StandardDeploymentManager.java:264) at org.apache.jetspeed.deployment。 impl.StandardDeploymentManager.deploy(StandardDeploymentManager.java:178) at org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent(StandardDeploymentManager.java:209) at org.apache.jetspeed.deployment.impl.StandardDeploymentManager $ FileSystemScanner。運行(STA ndardDeploymentManager.java:357) 由org.apache上的org.apache.jetspeed.tools.deploy.JetspeedDeploy。(JetspeedDeploy.java:182) 引發:java.lang.IllegalArgumentException:WEB-INF/portlet.xml 。 jetspeed.tools.deploy.JetspeedDeploy(JetspeedDeploy.java:96) 在org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.deployPortletApplication(DeployPortletAppEventListener.java:219) ... 5個
請任何答覆會有所幫助。
謝謝