The problem was that I had a web.xml file that was empty. Now I'm getting this error when I try to deploy the webapp via tomcat:
2014-03-28 14:42:02,962 INFO org.apache.catalina.core.ContainerBase.[Catalina].[blancoj.dev.deepblue.lib.umich.edu].[/] @ Initializing Spring root WebApplicationContext 2014-03-28 14:42:04,849 INFO org.apache.catalina.core.ContainerBase.[Catalina].[blancoj.dev.deepblue.lib.umich.edu].[/] @ Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'. 2014-03-28 14:42:05,606 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[blancoj.dev.deepblue.lib.umich.edu].[/] @ Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dspace.eventService' defined in ServletContext resource [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()] threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null Any clue? On Fri, Mar 28, 2014 at 10:54 AM, Jose Blanco <[email protected]> wrote: > I have just merged my code with 4.1 and am trying to run this comand: > > ant -Dconfig=/l1/dspace/repository/devareaa/config/dspace.cfg update > > and I'm getting this error: > > BUILD FAILED > /deepblue/dspace/build/dev-4.1/dspace/target/dspace-4.1-build/build.xml:623: > The following error occurred while executing this line: > /deepblue/dspace/build/dev-4.1/dspace/target/dspace-4.1-build/build.xml:664: > java.lang.NullPointerException > > when I look at the build.xml file I don't see why it would fail here: > > <copy todir="${dspace.dir}/webapps" > preservelastmodified="false" failonerror="no"> > <fileset dir="webapps"> > <include name="**/web.xml" /> > </fileset> > <filterchain> > <expandproperties /> > </filterchain> > </copy> > > Any ideas? > > -Jose ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

