You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Robert Waddell <rw...@googlemail.com> on 2011/02/18 15:39:34 UTC

JSP Pages ?

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.

Re: JSP Pages ?

Posted by Robert Waddell <rw...@googlemail.com>.
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 <qw...@gmail.com> 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
> <rw...@googlemail.com> 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
>

Re: JSP Pages ?

Posted by Harsh J <qw...@gmail.com>.
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
<rw...@googlemail.com> 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