I'm running DSpace 5.0 on Windows Server 2008 R2 with the Mirage theme. When I 
run the command /dspace/bin/dspace import -help I get the following error 
message:


C:\dspace\bin>dspace import  -h
Using DSpace installation in: C:\dspace
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/dspace/lib/slf4j-log4j12-1.6.1.jar!/org/sl
f4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/dspace/lib/slf4j-log4j12-1.7.6.jar!/org/sl
f4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

Failed to startup the DSpace Service Manager: failure starting up spring service
manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' de
fined in URL [jar:file:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spring-dspa
ce-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bea
n class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nest
ed exception is java.lang.NoSuchFieldError: INSTANCE
Failure during filter init: Failed to startup the DSpace Service Manager: failur
e starting up spring service manager: Error creating bean with name 'org.dspace.
app.sherpa.SHERPAService' defined in URL [jar:file:/C:/dspace/lib/dspace-api-5.0
-rc3.jar!/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean
failed; nested exception is org.springframework.beans.BeanInstantiationExceptio
n: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Const
ructor threw exception; nested exception is java.lang.NoSuchFieldError: INSTANCE
:java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failu
re starting up spring service manager: Error creating bean with name 'org.dspace
.app.sherpa.SHERPAService' defined in URL [jar:file:/C:/dspace/lib/dspace-api-5.
0-rc3.jar!/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bea
n failed; nested exception is org.springframework.beans.BeanInstantiationExcepti
on: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Cons
tructor threw exception; nested exception is java.lang.NoSuchFieldError: INSTANC
E
Exception in thread "main" java.lang.IllegalStateException: Failure during filte
r init: Failed to startup the DSpace Service Manager: failure starting up spring
service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPASer
vice' defined in URL [jar:file:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spr
ing-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exce
ption is org.springframework.beans.BeanInstantiationException: Could not instant
iate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw excepti
on; nested exception is java.lang.NoSuchFieldError: INSTANCE
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:72)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service Mana
ger: failure starting up spring service manager: Error creating bean with name '
org.dspace.app.sherpa.SHERPAService' defined in URL [jar:file:/C:/dspace/lib/dsp
ace-api-5.0-rc3.jar!/spring/spring-dspace-addon-sherpa-services.xml]: Instantiat
ion of bean failed; nested exception is org.springframework.beans.BeanInstantiat
ionException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAServ
ice]: Constructor threw exception; nested exception is java.lang.NoSuchFieldErro
r: INSTANCE
        at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceM
anager.java:224)
        at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.jav
a:150)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:57)
Caused by: java.lang.IllegalStateException: failure starting up spring service m
anager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defi
ned in URL [jar:file:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spring-dspace
-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is o
rg.springframework.beans.BeanInstantiationException: Could not instantiate bean
class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested
exception is java.lang.NoSuchFieldError: INSTANCE
        at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceM
anager.java:208)
        ... 2 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'org.dspace.app.sherpa.SHERPAService' defined in URL [jar:file
:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spring-dspace-addon-sherpa-servic
es.xml]: Instantiation of bean failed; nested exception is org.springframework.b
eans.BeanInstantiationException: Could not instantiate bean class [org.dspace.ap
p.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.l
ang.NoSuchFieldError: INSTANCE
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:585)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:913)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:464)
        at org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringS
erviceManager.java:207)
        at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceM
anager.java:205)
        ... 2 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not insta
ntiate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw excep
tion; nested exception is java.lang.NoSuchFieldError: INSTANCE
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
62)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:76)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
        ... 14 more
Caused by: java.lang.NoSuchFieldError: INSTANCE
        at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<init>(Defaul
tHttpRequestWriterFactory.java:52)
        at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<init>(Defaul
tHttpRequestWriterFactory.java:56)
        at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<clinit>(Defa
ultHttpRequestWriterFactory.java:46)
        at org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.<init>(M
anagedHttpClientConnectionFactory.java:72)
        at org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.<init>(M
anagedHttpClientConnectionFactory.java:84)
        at org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.<clinit>
(ManagedHttpClientConnectionFactory.java:59)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager$Internal
ConnectionFactory.<init>(PoolingHttpClientConnectionManager.java:493)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(P
oolingHttpClientConnectionManager.java:149)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(P
oolingHttpClientConnectionManager.java:138)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(P
oolingHttpClientConnectionManager.java:114)
        at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder
.java:726)
        at org.dspace.app.sherpa.SHERPAService.<init>(SHERPAService.java:37)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
47)
        ... 16 more
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to