[Contrib: Evaluation System] Evaluation System 1.3.0 on2.9.xtrunk - Tomcat starting issue

Daniel Merino daniel.merino at unavarra.es
Fri Jun 1 02:56:16 PDT 2012


Thanks a lot, David. It worked like a charm!

Best regards.

David Horwitz escribió:
> you need to overide the scope too:
>
> <dependency>
>                  <groupId>org.springframework</groupId>
>                  <artifactId>spring-webmvc</artifactId>
> 		<scope>runtime</scope>
>          </dependency>
>
>
> D
> On 06/01/2012 11:08 AM, Daniel Merino wrote:
>   
>> Thanks, David. Copy-pasting the spring-webmvc-2.5.6.SEC02.jar into
>> sakai-evaluation-tool/WEB-INF/lib worked fine.
>>
>> However, I would like to make a more professional solution so I have
>> tried to add the dependency into the pom.xml.
>>
>> Copying the dependency as it is in Evalsys 1.4.0 (
>> https://source.sakaiproject.org/contrib/evaluation/tags/1.4.0/tool/pom.xml
>> ), I have added to tool/pom.xml the next code:
>>
>>          <dependency>
>>                  <groupId>org.springframework</groupId>
>>                  <artifactId>spring-webmvc</artifactId>
>>          </dependency>
>>
>> But spring-webmvc still is not deployed into tomcat.
>>
>> I don't know too much about Maven, please, could you give me any hint?
>>
>> Thanks in advance.
>> Best regards.
>>
>> David Horwitz escribió:
>>     
>>> You need to update the deploy to put spring-webmvc in the evals webapp -
>>> as it is no longer in shared.
>>>
>>> I would also recommend upgrading to RSF 0.7.5
>>>
>>> D
>>>
>>>
>>> On 05/30/2012 02:29 PM, Daniel Merino wrote:
>>>
>>>       
>>>> Hi everybody.
>>>>
>>>> I'm trying to install our evalsys-1.3.0 in Sakai 2.9.x.
>>>>
>>>> First at all, I have found issues with pom.xml at api, tool and impl,
>>>> because they have not profiles for 2.9. I have copied the 2.8 profile
>>>> and renamed it as 2.9 in these pom.xml, so after that, deployment works.
>>>>
>>>> However, starting Tomcat I find the same errors which Jim Eng asked
>>>> about in this list a few months ago:
>>>> http://collab.sakaiproject.org/pipermail/evaluation/2011-November/001041.html
>>>>
>>>> No solution was provided to the list, and I'm stuck with this. Please,
>>>> could you help me?
>>>>
>>>> I paste the Tomcat's starting log:
>>>>
>>>> INFO: Despliegue del archivo
>>>> /apps/tomcat/tomcat-b/webapps/sakai-evaluation-tool.war de la aplicación web
>>>> 2012-05-30 13:59:51,244 ERROR pool-2-thread-1
>>>> org.springframework.web.context.ContextLoader - Context initialization
>>>> failed
>>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>>> bean with name 'TLABPostProcessorLoader' defined in class path resource
>>>> [conf/rsf-config.xml]: Invocation of init method
>>>> failed; nested exception is
>>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>>> bean with name 'scopeAlterationWrapperProxy' defined in class path
>>>> resource [conf/rsf-config.
>>>> xml]: Cannot create inner bean 'RSACBridgeProxy$child#38a2aba4' of type
>>>> [uk.org.ponder.rsac.RSACBridgeProxy] while setting bean property
>>>> 'value'; nested exception is org.springframework.beans.f
>>>> actory.BeanCreationException: Error creating bean with name
>>>> 'RSACBridgeProxy$child#38a2aba4' defined in class path resource
>>>> [conf/rsf-config.xml]: Cannot resolve reference to bean 'RSACBeanLoca
>>>> tor' while setting bean property 'RSACBeanLocator'; nested exception is
>>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>>> bean with name 'RSACBeanLocator' defined in class
>>>>    path resource [conf/rsf-config.xml]: Invocation of init method failed;
>>>> nested exception is java.lang.NoClassDefFoundError:
>>>> org/springframework/web/multipart/MultipartResolver
>>>> Related cause:
>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Error
>>>> loading class [uk.org.ponder.springutil.BlankMultipartResolver] for bean
>>>> with name 'multipartResolver' defin
>>>> ed in class path resource [conf/blank-applicationContext.xml]: problem
>>>> with class file or dependent class; nested exception is
>>>> java.lang.NoClassDefFoundError: org/springframework/web/multipart/
>>>> MultipartResolver
>>>> Related cause:
>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
>>>> find class
>>>> [org.springframework.web.multipart.commons.CommonsMultipartResolver] for
>>>> bean with name 'commons
>>>> MultipartResolver' defined in class path resource
>>>> [conf/sakai-applicationContext.xml]; nested exception is
>>>> java.lang.ClassNotFoundException:
>>>> org.springframework.web.multipart.commons.CommonsMul
>>>> tipartResolver
>>>> Related cause:
>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Error
>>>> loading class [uk.org.ponder.springutil.BlankMultipartResolver] for bean
>>>> with name 'blankMultipartResolver'
>>>> defined in class path resource [conf/sakai-applicationContext.xml]:
>>>> problem with class file or dependent class; nested exception is
>>>> java.lang.NoClassDefFoundError: org/springframework/web/multi
>>>> part/MultipartResolver
>>>> Related cause:
>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Error
>>>> loading class [uk.org.ponder.springutil.BlankMultipartResolver] for bean
>>>> with name 'multipartResolver' defin
>>>> ed in class path resource [conf/blank-applicationContext.xml]: problem
>>>> with class file or dependent class; nested exception is
>>>> java.lang.NoClassDefFoundError: org/springframework/web/multipart/
>>>> MultipartResolver
>>>> Related cause:
>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
>>>> find class
>>>> [org.springframework.web.multipart.commons.CommonsMultipartResolver] for
>>>> bean with name 'commons
>>>> MultipartResolver' defined in class path resource
>>>> [conf/sakai-applicationContext.xml]; nested exception is
>>>> java.lang.ClassNotFoundException:
>>>> org.springframework.web.multipart.commons.CommonsMul
>>>> tipartResolver
>>>> Related cause:
>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Error
>>>> loading class [uk.org.ponder.springutil.BlankMultipartResolver] for bean
>>>> with name 'blankMultipartResolver'
>>>> defined in class path resource [conf/sakai-applicationContext.xml]:
>>>> problem with class file or dependent class; nested exception is
>>>> java.lang.NoClassDefFoundError: org/springframework/web/multi
>>>> part/MultipartResolver
>>>>
>>>> (...)
>>>>
>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
>>>> find class
>>>> [org.springframework.web.multipart.commons.CommonsMultipartResolver] for
>>>> bean with name 'commonsMultipartResolver' defined in class path resource
>>>> [conf/sakai-applicationContext.xml]; nested exception is
>>>> java.lang.ClassNotFoundException:
>>>> org.springframework.web.multipart.commons.CommonsMultipartResolver
>>>>
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> org.springframework.web.multipart.commons.CommonsMultipartResolver
>>>>
>>>>
>>>> Thanks in advance.
>>>> Best regards.
>>>>
>>>>         
>>> _______________________________________________
>>> evaluation mailing list
>>> evaluation at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>>>
>>> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>>
>>>
>>>       
>
> _______________________________________________
> evaluation mailing list
> evaluation at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>
> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>   

-- 
Daniel Merino Echeverría
daniel.merino at unavarra.es
Gestor de teleformación - Centro Superior de Innovación Educativa.
Tfno: 948-168489 - Universidad Pública de Navarra.
--
Aquellos que pueden, hacen ciencia. Los que no pueden, cotorrean sobre 
su metodología. (Paul Samuelson)


More information about the evaluation mailing list