FAQ
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.

Search Discussions

  • Harsh J at Feb 18, 2011 at 3:07 pm
    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
    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
  • Robert Waddell at Feb 18, 2011 at 3:14 pm
    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 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
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriespig, hadoop
postedFeb 18, '11 at 2:40p
activeFeb 18, '11 at 3:14p
posts3
users2
websitepig.apache.org

2 users in discussion

Robert Waddell: 2 posts Harsh J: 1 post

People

Translate

site design / logo © 2023 Grokbase