Hi, Am Wed, 2 Sep 2009 10:04:14 +0530 schrieb Amila Suriarachchi <amilasuriarach...@gmail.com>:
> put them to webapps/axis2/WEB-INF/lib that's what I tried first and it doesn't work! (With the error message below) I tried both: just the single class file and packaged in a jar. The class itself has nothing special. No special inheritance. No implemented interfaces. Just a simple java class. Is that all correct? How can I troubleshoot this? Thanks, Matthias > thanks > Amila. > > On Wed, Sep 2, 2009 at 1:51 AM, Matthias Korn > <mat...@binaervarianz.de>wrote: > > > Hi,, > > > > > > > > my axis2.war 1.4.1 in a Tomcat is running multiple web services who > > are all accessing the same database and other common stuff. Thus I > > created a Java class handling all this in one place. I want all web > > services to use this class. > > > > How can I integrate this into my axis2 setup? Where do I put the > > class/library so my services can find it? Does the external > > library/class has to meet any specific criteria? > > > > Currently I am getting something along the lines: java.lang.Error: > > Unresolved compilation problems: The import <package> cannot be > > resolved FooBar cannot be resolved to a type > > > > I tried many (if not all) variations in terms of location and > > packaging. > > > > The documentation isn't very verbose about this. Actually, I > > couldn't find it anywhere.... > > > > > > Hope someone can send me in the right direction. > > > > Thanks, > > Matthias > > > > >