Topic: Portlet的配置问题 |
Print this page |
1.Portlet的配置问题 | Copy to clipboard |
Posted by: carlchen Posted on: 2005-12-26 11:11 我装了pluto-1.0.1,Tomcat 5.0.28,jdk1.5 照着教程了一个helloword的portlet程序,程序在附件中 然后启动pluto, http://localhost:8080/pluto/portal 在admin模式下把war程序分布进去, 然后访问却出错"Error occurred in portlet! " 如果直接访问portlet的话,http://localhost:8080/carlchen/HiPortlet出现这样的错误:javax.servlet.ServletException: Start of the application definition Start of the portlet definition Portlet.rar (478.27k) |
2.Re:Portlet的配置问题,很急~~~ [Re: carlchen] | Copy to clipboard |
Posted by: carlchen Posted on: 2005-12-26 11:34 ???求助~~~~~~~~~~~~~ |
3.Re:Portlet的配置问题,很急~~~ [Re: carlchen] | Copy to clipboard |
Posted by: why Posted on: 2005-12-26 11:47 23 minutes only and you posted a message to 頂 可怒也! 請問閣下有沒有看過敝人在 http://www.cjsdn.net/post/view?bid=2&id=166160 上的敬(警)告? 對不起,從今開始,敝人會漠視閣下所有帖子. 而且,如有再犯,帖子即删! |
4.Re:Portlet的配置问题,很急~~~ [Re: carlchen] | Copy to clipboard |
Posted by: carlchen Posted on: 2005-12-26 11:50 不好意思,因为问题实在太急了 我改了一下代码,出现这样的异常: exception javax.servlet.ServletException: Servlet.init() for servlet HiPortlet threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.IllegalStateException: The prepare method was never called org.apache.pluto.PortletContainerServices.get(PortletContainerServices.java:38) org.apache.pluto.services.information.InformationProviderAccess.getContainerService(InformationProviderAccess.java:39) org.apache.pluto.services.information.InformationProviderAccess.getStaticProvider(InformationProviderAccess.java:29) org.apache.pluto.core.PortletServlet.init(PortletServlet.java:86) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) |
5.Re:Portlet的配置问题,很急~~~ [Re: carlchen] | Copy to clipboard |
Posted by: carlchen Posted on: 2005-12-26 14:12 是不是装的pluto版本不对? |
6.Re:Portlet的配置问题,很急~~~ [Re: carlchen] | Copy to clipboard |
Posted by: carlchen Posted on: 2005-12-30 16:09 终于解决拉,原来是包放错位置了,哈哈,开心~~~~~ |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |