« Return to Thread: Re: JSP and Portlets

Re: JSP and Portlets

by pierx :: Rate this Message:

Reply to Author | View in Thread

I put all the libratries of pluto in the tomcat common/lib dir....

aopalliance-1.0.jar
commons-beanutils-1.7.0.jar
commons-digester-1.8.jar
commons-el.jar
commons-fileupload-1.1.1.jar
commons-io-1.3.1.jar
commons-io-1.3.jar
commons-logging-api-1.1.jar
jasper-compiler.jar
jasper-compiler-jdt.jar
jasper-runtime.jar
jsp-api.jar
jstl-1.0.6.jar
jstl.jar
naming-factory.jar
naming-factory-dbcp.jar
naming-resources.jar
pluto-portal-driver-1.1.4.jar
pluto-portal-driver-impl-1.1.4.jar
servlet-api.jar
spring-beans-2.0.2.jar
spring-context-2.0.2.jar
spring-core-2.0.2.jar
spring-web-2.0.2.jar
standard-1.0.6.jar
standard.jar


On 26/02/2008, Nils-Helge Garli Hegvik <nilsga@...> wrote:
I followed that guide and didn't experience any problems, although I
used Jetty instead of Tomcat. Which libraries do you have in the
Tomcat classpath, and which do you have in your web application?

Nils-H

On Tue, Feb 26, 2008 at 3:43 PM, Pierpaolo Lombardi <pier.lomb@...> wrote:
> Hi to all!
>
> I'm trying to embedd portlets in a jsp at run-time...I used the guide at
> this link http://portals.apache.org/pluto/faq.html#simple-embed
>  My jsp page is showed below...When I ask for the jsp by using the browser
> an Exception occurs
>
> java.lang.NoClassDefFoundError: org/apache/pluto/PortletWindow
> ....
> ....
>
> Why? I put all the pluto .jar files in the tomcat dir dommon/lib but nothing
> is changed...
>
> Can anyone help me? I think the problem is in the jsp page because the
> portlet variable is not initialized (as I though but I'm not sure...)
>
> Thanks in advance
>
>
>
>
> <html>
>     <head>
>          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
>         <title>JSP Page</title>
>     </head>
>     <body>
>
> <pluto:portlet portletId="${portlet}">
>    <div class="portlet" id=">c:out value="${portlet}"/>">
>     <div class="header">
>       <h2 class="title"><pluto:title></pluto:title></h2>
>     </div>
>     <div class="body">
>       <pluto:render></pluto:render>
>    </div>
>  </div>
> </pluto:portlet>
>
>     </body>
> </html>
>
>

 « Return to Thread: Re: JSP and Portlets