Préparation

git clone git@github.com:EsupPortail/esup-uportal.git

build.properties

server.home=/opt/bin/apache-tomcat-6.0.26

maven.home=/opt/bin/apache-maven-3.0

Lancement

ant  -Dmaven.test.skip=true initportal

Notes

10/09/12

Problème de :

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [properties/contexts/mvcContext.xml]: Cannot create inner bean 'org.jasig.portal.i18n.DatabaseMessageSource#526b0074' of type [org.jasig.portal.i18n.DatabaseMessageSource] while setting bean property 'parentMessageSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.jasig.portal.i18n.DatabaseMessageSource#526b0074': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.i18n.DatabaseMessageSource.setMessageDao(org.jasig.portal.i18n.dao.IMessageDao); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaMessageDao': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rawEventsEntityManagerFactory' defined in class path resource [properties/contexts/eventPersistenceContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: uPortalRawEventsPersistence] Unable to build EntityManagerFactory

Visiblement lié au fait que filters/esup.properties contient environment.build.hibernate.connection.driver_class=com.mysql.jdbc.Driver utilisé dans uportal-war/src/main/resources/properties/rdbm.properties

  • Aucune étiquette