The pig-0.6-core.jar is what is in "WEB-INF/lib" folder, and that is the only jar that my non-web projects need. The specific class I was trying to use was PigServer which is part of the "org.apache.pig" package within the jar, which is imported as "<%@ page import="org.apache.pig.*" %>".
Robert. On 18 February 2011 15:06, Harsh J <[email protected]> wrote: > Are the jars that Pig may use (its libs/), also available in your Web > app's CP/lib/etc.? Which specific class was reported not found? > > On Fri, Feb 18, 2011 at 8:09 PM, Robert Waddell > <[email protected]> wrote: > > Hi Guys, > > > > I am trying to build a web interface that can use pig to do "on demand" > > batch processing using pig, but JSP (or more specifically, tomcat) does > not > > seem to want to know pig. I keep receiving ClassNotFoundException when > > trying to use PigServer, even though I have explicitly imported it using > a > > page import statement. I wouldn't normally ask on this mailing list, but > all > > my other JARs seem to import fine ... > > > > Any help is appreciated, > > Robert. > > > > > > -- > Harsh J > www.harshj.com >
