[Building Sakai] Tomcat error on start up

Maurer, Christopher Wayne chmaurer at iupui.edu
Mon Sep 26 07:46:51 PDT 2011


Dave,
What Steve said does ring a bell from when you tried this the first time
back on 2.7.  Perhaps we added one of the report artifacts to
master/pom.xml so it was marked as provided?  That's kind of what I'm
thinking we did.

Chris

On 9/26/11 10:39 AM, "Steve Swinsburg" <steve.swinsburg at gmail.com> wrote:

>Hi Dave,
>
>The first thing I'd check with an error like this is duplicates in shared
>or that you are bundling the impl in the webapp.
>
>cheers,
>Steve
>
>
>
>On 27/09/2011, at 12:32 AM, David McPherson wrote:
>
>> Hi,
>> 
>> I'm working on getting Reports to run in trunk and I've update the poms
>>on my local machine.  When I got to start tomcat I get the following
>>error.
>> 
>> 2011-09-23 15:39:04,183 ERROR main
>>org.springframework.web.context.ContextLoader - Context initialization
>>failed
>> 1045 org.springframework.beans.factory.BeanCreationException: Error
>>creating bean with name 'testreport1' defined in ServletContext resource
>>[/WEB-INF/reports-definition.xml]: Cannot create inner bean
>>'reportXsl1.3' of type [org.sakaiproject.reports.model.ReportXsl] while
>>setting bean property 'xsls' with key [2]; nested exception is
>>org.springframework.beans.factory.BeanCreationException: Er     ror
>>creating bean with name 'reportXsl1.3' defined in ServletContext
>>resource [/WEB-INF/reports-definition.xml]: Initialization of bean
>>failed; nested exception is org.springframework.beans.TypeM
>>ismatchException: Failed to convert property value of type
>>[org.sakaiproject.reports.logic.impl.CsvResultPostProcessor] to required
>>type [org.sakaiproject.reports.service.ResultsPostProcessor] fo     r
>>property 'resultsPostProcessor'; nested exception is
>>java.lang.IllegalArgumentException: Cannot convert value of type
>>[org.sakaiproject.reports.logic.impl.CsvResultPostProcessor] to
>  required ty     pe
>[org.sakaiproject.reports.service.ResultsPostProcessor] for property
>'resultsPostProcessor': no matching editors or conversion strategy found
>> 
>> I'm not sure what's wrong but it stopping me from doing any further
>>work on reports to bring in the IU improvements that the OSP community
>>is needing.
>> 
>> I've successfully gotten Reports w/improvements running in 2.7 and 2.8,
>>but I'm really stumped on why it's not starting in trunk with just the
>>pom changes needed to get it to build.  I'm sure I'm overlooking
>>something easy, but I could really use some help.  For completeness,
>>I've attached the entire tomcat log.
>> 
>> Thanks,
>> Dave<catalina.out>
>> --
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> David McPherson
>> Assistant Director, ePortfolio Initiatives
>> 2210A Torgersen Hall
>> Learning Technologies
>> dmcphers at vt.edu
>> 540-231-8993
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to
>>sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>"unsubscribe"
>
>_______________________________________________
>sakai-dev mailing list
>sakai-dev at collab.sakaiproject.org
>http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
>TO UNSUBSCRIBE: send email to
>sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>"unsubscribe"



More information about the sakai-dev mailing list