Hi,

thanks for the reply.

The dependency is added to the pom.xml as I use the maven archetypes provided 
by http://www.cyclonic.org/t2platform/repository/. I looked in the "Maven 
Dependencies" folder in the project in eclipse. This is the following Taverna 
jars that I find: 

platform-taverna-api-p0.1b1.jar
reference-api-p0.1b1.jar
workflowmodel-api-p0.1b1.jar
platform-core-p0.1b1.jar

 

When I added,

<dependency>
       <groupId>net.sf.taverna.t2.infrastructure</groupId>
        <artifactId>platform-spring</artifactId>
        <version>p0.1b1</version>
</dependency>

I also found the jar platform-spring-p0.1b1.jar in the Maven dependencies 
folder.

I've also gotten other errors which I guess if for the same reason of missing 
jars like the exception below. Is there a reason why it doesn't add all jars? 
And anyway I can make it get everything?

 

-Az.

 

SEVERE: Exception sending context initialized event to listener instance of 
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [net.sf.taverna.t2.platform.taverna.impl.WorkflowParserImpl] for bean 
with name 't2.enactor.workflowParser' defined in ServletContext resource 
[/WEB-INF/context-parts/platform-basic-profile.xml]; nested exception is 
java.lang.ClassNotFoundException: 
net.sf.taverna.t2.platform.taverna.impl.WorkflowParserImpl
 

 

 

 
> Date: Mon, 30 Mar 2009 09:34:11 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Taverna-hackers] Problems adding T2 p0.1b1 to Axis2 server.
> 
> 2009/3/28 Azazel Se <[email protected]>:
> > Hi.
> > I've been trying to use the Taverna 2 Platform p0.1b1.
> > By using the maven archetypes from taverna and the developers guide I have
> > gotten the application and web application examples to execute workflows.
> > But I'm trying to make a web service by putting it inside an .aar archive
> > and on an axis2 standalone server.
> 
> 
> > Offending resource: class path resource [context.xml]; nested exception is
> > org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> > 59 in XML document from class path resource [dao_hibernate.xml] is invalid;
> > nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:
> > The matching wildcard is strict, but no declaration can be found for element
> > 'raven:spi'.
> 
> 
> Hi!
> 
> Make sure you are including the needed dependencies for our spring
> extensions - it sounds like you're missing:
> 
> <dependency>
> <groupId>net.sf.taverna.t2.infrastructure</groupId>
> <artifactId>platform-spring</artifactId>
> <version>p0.1b1</version>
> </dependency>
> 
> This should have been included if you depend on:
> 
> <dependency>
> <groupId>net.sf.taverna.t2</groupId>
> <artifactId>platform-taverna-api</artifactId>
> <version>p0.1b1</version>
> </dependency>
> 
> 
> -- 
> Stian Soiland-Reyes, myGrid team
> School of Computer Science
> The University of Manchester
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/taverna-hackers
> Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

_________________________________________________________________
Få nye Windows Live™ Messenger.
http://download.live.com/messenger
------------------------------------------------------------------------------
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to