It looks like the POM of your opal-jar might be a bit thin..

if I download opal-toolkit 2.0.0 from
http://sourceforge.net/projects/opaltoolkit/ I get a lib folder with
33 JARs - each of those (assuming they are required) would
unfortunately also need to be added as a dependency in the POM of opal
- if any of those don't exist in Maven repositories, but depend on
each-other, then those POMs also would need to be created with the
matching dependencies.

For projects built using Maven this is not normally a big deal as this
would already be in place, but it looks like Opal is still built using
Ant.


On Tue, Feb 1, 2011 at 16:08, Jane Ren <[email protected]> wrote:
> Hi,
>
> I am getting this java undefined class error when I try to use the plugin 
> that I wrote.
> I looked at ~/Library/Application Support/taverna-2.2.0/repository and did 
> see that my plugin installed everything there (including the 3rd party 
> library).
>
> The error message complains it could not find the missing 3rd party library.
>
> ERROR 2011-02-01 08:01:33,488 
> (net.sf.taverna.t2.workbench.ui.impl.Workbench:117) - Uncaught exception in 
> Thread[AWT-EventQueue-0,6,main]
> java.lang.NoClassDefFoundError: edu/sdsc/nbcr/opal/AppServiceLocator
>
> But my plugin did install
> /Users/jren/Library/Application 
> Support/taverna-2.2.0/repository/edu/sdsc/nbcr/opal/2.0/opal-2.0.jar
> /Users/jren/Library/Application 
> Support/taverna-2.2.0/repository/edu/sdsc/nbcr/opal/2.0/opal-2.0.pom
>
> So what could be wrong?  Does the above directory structure for the 3rd party 
> library in the repository/ appear right?
>
> In my plugin /Users/jren/Library/Application 
> Support/taverna-2.2.0/repository/uk/ac/manchester/cs/img/myfancytool, I have 
> the jars and
>
> ./example-activity/0.0.1-SNAPSHOT/example-activity-0.0.1-SNAPSHOT.pom
> ./example-activity-ui/0.0.1-SNAPSHOT/example-activity-ui-0.0.1-SNAPSHOT.pom
> ./myfancytool-taverna/0.0.1-SNAPSHOT/myfancytool-taverna-0.0.1-SNAPSHOT.pom
>
> In each of the pom's, I have
>              <dependency>
>                        <groupId>edu.sdsc.nbcr</groupId>
>                        <artifactId>opal</artifactId>
>                        <version>2.0</version>
>              </dependency>
>
> Does this look right?
>
> Any help would be greatly appreciated.
>
> Jane
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/about/contact-us/
> Developers Guide: http://www.taverna.org.uk/developers/
>



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to