Hey guys,
i am trying to combine the backbone of the intact library with my
software and used the intact-kickstart to create database and stuff. I
ran in several problems concerning library dependencies but i think i
managed so far. Though, when trying again the database is not created
any more, not even when i checkout the current intact-kickstart
version and ran again.
The following error occurs:
------------------StartException--------------------------
Exception in thread "main"
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'interactorFetcher' defined in URL [jar:file:/
C:/Users/dominator/.m2/repository/uk/ac/ebi/intact/dataexchange/intact-
enricher/2.1.1/intact-enricher-2.1.1.jar!/uk/ac/ebi/intact/
dataexchange/enricher/fetch/InteractorFetcher.class]: Instantiation of
bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[uk.ac.ebi.intact.dataexchange.enricher.fetch.InteractorFetcher]:
Constructor threw exception; nested exception is
javax.xml.ws.WebServiceException: Failed to access the WSDL at:
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl. It failed
with:
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl.
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:
883)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:
839)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
440)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
380)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:
222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:
261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
164)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:
429)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:
728)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
380)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:
139)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:
105)
at
uk.ac.ebi.intact.core.context.IntactContext.initContext(IntactContext.java:
198)
at
uk.ac.ebi.intact.core.context.IntactContext.initContext(IntactContext.java:
164)
at uk.ac.ebi.intact.kickstart.CreateDatabase.main(CreateDatabase.java:
34)
Caused by: org.springframework.beans.BeanInstantiationException: Could
not instantiate bean class
[uk.ac.ebi.intact.dataexchange.enricher.fetch.InteractorFetcher]:
Constructor threw exception; nested exception is
javax.xml.ws.WebServiceException: Failed to access the WSDL at:
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl. It failed
with:
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl.
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:
115)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:
61)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:
877)
... 18 more
Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL
at:
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl. It failed
with:
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl.
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:
162)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:
144)
at
com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:
264)
at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:
227)
at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:
175)
at
com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:
104)
at javax.xml.ws.Service.<init>(Unknown Source)
at
uk.ac.ebi.chebi.webapps.chebiWS.model.ChebiWebServiceService.<init>(ChebiWebServiceService.java:
40)
at
uk.ac.ebi.chebi.webapps.chebiWS.client.ChebiWebServiceClient.<init>(ChebiWebServiceClient.java:
27)
at
uk.ac.ebi.intact.dataexchange.enricher.fetch.InteractorFetcher.<init>(InteractorFetcher.java:
53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:
100)
... 20 more
Caused by: java.io.FileNotFoundException:
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.URL.openStream(Unknown Source)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:
805)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:
262)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:
129)
... 33 more
------------------StopException--------------------------
In order to sum up, it seems that a ChebiWebServiceService class is
used in the beginning of intact-kickstart trying to address
http://www.ebi.ac.uk/webservices/chebi/webservice?wsdl and fails.
I Just checked and realized that the requested file really isn´t at
its place. There now seems to be a new place for it:
http://www.ebi.ac.uk/webservices/chebi/2.0/webservice?wsdl
Since i cannot change this myself manually in the code, i guess this
is a bug? Or am i getting anything wrong?
Thanks for your efforts in advance!
Cheers,
Dominik