I may have installed things in .m2 that are not in the pom.xml which I
need, but have forgotten.  Is it not OK to delete those directories?

On Mon, Feb 11, 2013 at 2:10 PM, Hilton Gibson <[email protected]>wrote:

> Rename .m2 to .m2-d3.0 and rebuild.
>
>
> On 11 February 2013 20:37, Jose Blanco <[email protected]> wrote:
>
>> I think I see the problem in dspace 3 we use 3.1.1.RELEASE for spring and
>> in 1.82 I was using 3.0.5.  I want to clean my .m2 directory, but don't
>> want to screw things up.  How can switch from one to the other until we go
>> live with dspace 3?
>>
>> On Mon, Feb 11, 2013 at 12:29 PM, Jose Blanco <[email protected]> wrote:
>>
>>> I deployed 3 just fine, but now trying to deploy my old 1.8.2 and am
>>> getting this error, but DSpace.java is not in 1.8.2.   I think something
>>> has changed int the configuration when I was working on 3 that has screwed
>>> up 1.8.2.  Any clues?:
>>>
>>> Caused by:
>>> 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
>>>     at
>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157)
>>>     at
>>> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
>>>     ... 39 more
>>> Caused by: java.lang.IllegalStateException: DSpace kernel cannot be null
>>>     at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63)
>>>     at org.dspace.utils.DSpace.getEventService(DSpace.java:75)
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> 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
>>
>
>
>
> --
> *Hilton Gibson*
> Systems Administrator
> JS Gericke Library
> Room 1025D
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://library.sun.ac.za
> http://scholar.sun.ac.za
> http://ar1.sun.ac.za
> http://aj1.sun.ac.za
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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

Reply via email to