On Wed, Sep 2, 2009 at 1:51 AM, Matthias Korn <[email protected]>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 > you can also add the common jars to services/lib (you need to create a lib folder) But this error is very strange. I should give a ClassNotFound exception if it can not find the class. thanks, Amila. > > 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 > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
