The problem was that you had the tapestry-portlet JAR on the
classpath, but you didn't have the actual portlet classes.  Inside
tapestry-portlet.jar/hivemodule.xml are references to various
javax.portlet classes that Tapestry was unable to convert into Class
objects ... because they weren't on the classpath.


On 6/24/05, Warner Onstine <[EMAIL PROTECTED]> wrote:
> Ok, so given that, what does this error message mean? Or should I just
> wait until beta-1 comes out?
> 
> -warner
> (sorry for sending from the wrong account Mail loses track of which
> account these messages come in on).
> 
> On Jun 24, 2005, at 8:17 AM, Howard Lewis Ship wrote:
> 
> > OH!  alpha-3 still has the commons-lang dependenciy.
> > alpha-4-snapshot/beta-1 does not.
> >
> > On 6/24/05, Warner Onstine <[EMAIL PROTECTED]> wrote:
> >> No, I had an earlier error that looked like this:
> >> java.lang.NoClassDefFoundError:
> >> org/apache/commons/lang/builder/ToStringBuilder
> >>
> >> org.apache.tapestry.spec.LibrarySpecification.toString(LibrarySpecific
> >> at
> >> ion.java:546)
> >>          java.lang.String.valueOf(String.java:2131)
> >>          java.lang.StringBuffer.append(StringBuffer.java:370)
> >>
> >> So, I added commons-lang back in and got the below error, that's why I
> >> was asking about HiveMind as I thought the below error might be
> >> related
> >> to the version of HiveMind I have (1.1-b1).
> >>
> >> I'm not trying to use annotations with jdk 1.4 (unless there's
> >> something I'm missing here).
> >>
> >> I'm on beta-3, through the ibiblio repository (not 4-snapshot).
> >>
> >> -warner
> >>
> >> On Jun 24, 2005, at 4:23 AM, Howard Lewis Ship wrote:
> >>
> >>> So ... you saw an error about javax.portlet.PortletSession and
> >>> determined it had something to do with commons-lang?  Step back and
> >>> take a breath, please.
> >>>
> >>> If you are using JDK 1.4, then you can't use the annotations. I've
> >>> heard about some toolkits that allow you to use annotations in
> >>> earlier
> >>> releases, but haven't had even a moment to check them out.
> >>>
> >>> On 6/23/05, Warner Onstine <[EMAIL PROTECTED]> wrote:
> >>>> Hrmm, I had to add in commons-lang because I got another error that
> >>>> cropped up. Here's the current error:
> >>>> javax.servlet.ServletException: Unable to construct service
> >>>> tapestry.describe.DescribableStrategy: Unable to construct
> >>>> configuration tapestry.describe.DescribableStrategies: Error at
> >>>> jar:file:/Users/warner/webservers/jakarta-tomcat-5.0.24/webapps/
> >>>> helloworld2/WEB-INF/lib/tapestry-portlet-4.0-alpha-3.jar!/META-INF/
> >>>> hivemodule.xml, line 297, column 105: Unable to process attribute
> >>>> class
> >>>> (of element strategy): Unable to convert type
> >>>> 'javax.portlet.PortletSession' to a Java class, either as is, or in
> >>>> package org.apache.tapestry.portlet.
> >>>>
> >>>> org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.s
> >>>> er
> >>>> vi
> >>>> ce(WebRequestServicerPipelineBridge.java:60)
> >>>>
> >>>> $ServletRequestServicer_104aa478ab8.service($ServletRequestServicer_
> >>>> 10
> >>>> 4a
> >>>> a478ab8.java)
> >>>>
> >>>> org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRe
> >>>> qu
> >>>> es
> >>>> tInjector.java:55)
> >>>>
> >>>> $ServletRequestServicerFilter_104aa478ab4.service($ServletRequestSer
> >>>> vi
> >>>> ce
> >>>> rFilter_104aa478ab4.java)
> >>>>
> >>>> $ServletRequestServicer_104aa478aba.service($ServletRequestServicer_
> >>>> 10
> >>>> 4a
> >>>> a478aba.java)
> >>>>
> >>>> On the note of annotations, what about those that are stuck on jdk
> >>>> 1.4?
> >>>> I still will need to tell them about the page files then right?
> >>>>
> >>>> -warner
> >>>>
> >>>> On Jun 23, 2005, at 11:24 AM, Howard Lewis Ship wrote:
> >>>>
> >>>>> Adding annotations meant sacrificing commons-lang and
> >>>>> EnumPropertySelectionModel.  Where you depending on that?
> >>>>> Otherwise,
> >>>>> dependencies have been stable for a couple of months.
> >>>>>
> >>>>> BTW ... despite certain concerns, I'm heavily promoting the
> >>>>> Tapestry
> >>>>> annoations as the future One True Path. You'll be able to write
> >>>>> your
> >>>>> book with barely a mention of XML.
> >>>>>
> >>>>> On 6/23/05, Warner Onstine <[EMAIL PROTECTED]> wrote:
> >>>>>> Hi all,
> >>>>>> I'm working with Tapestry 4.0 b3 and running into some problems.
> >>>>>> This
> >>>>>> code did work with b2 just fine so I'm thinking that some
> >>>>>> dependencies
> >>>>>> may have changed. If not it could be that I changed something else
> >>>>>> along the way.
> >>>>>>
> >>>>>> Specifically with b3 work with Hivemind 1.1-b1 or did that shift
> >>>>>> again?
> >>>>>>
> >>>>>> -warner
> >>>>>>
> >>>>>>
> >>>>>> ------------------------------------------------------------------
> >>>>>> --
> >>>>>> -
> >>>>>> To unsubscribe, e-mail:
> >>>>>> [EMAIL PROTECTED]
> >>>>>> For additional commands, e-mail:
> >>>>>> [EMAIL PROTECTED]
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Howard M. Lewis Ship
> >>>>> Independent J2EE / Open-Source Java Consultant
> >>>>> Creator, Jakarta Tapestry
> >>>>> Creator, Jakarta HiveMind
> >>>>>
> >>>>> Professional Tapestry training, mentoring, support
> >>>>> and project work.  http://howardlewisship.com
> >>>>>
> >>>>> -------------------------------------------------------------------
> >>>>> --
> >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>> For additional commands, e-mail:
> >>>>> [EMAIL PROTECTED]
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --------------------------------------------------------------------
> >>>> -
> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>> For additional commands, e-mail:
> >>>> [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Howard M. Lewis Ship
> >>> Independent J2EE / Open-Source Java Consultant
> >>> Creator, Jakarta Tapestry
> >>> Creator, Jakarta HiveMind
> >>>
> >>> Professional Tapestry training, mentoring, support
> >>> and project work.  http://howardlewisship.com
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > Howard M. Lewis Ship
> > Independent J2EE / Open-Source Java Consultant
> > Creator, Jakarta Tapestry
> > Creator, Jakarta HiveMind
> >
> > Professional Tapestry training, mentoring, support
> > and project work.  http://howardlewisship.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to