You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Milos Negovanovic <mi...@googlemail.com> on 2009/12/02 19:19:51 UTC

blank app under jetty7

Hi,

I am trying to get blank app to work under jetty7. At startup I get this
error:

http://pastie.org/723875

Anyone seen this before? What am I missing?

Regards
-- 
Milos Negovanovic
milos.negovanovic@googlemail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: blank app under jetty7

Posted by Musachy Barroso <mu...@gmail.com>.
I tried an app in jetty 7 yesterday and had the same problem, using my
amazing laziness skills I switched to jetty 6 and it worked, so I just
blamed it on jetty and moved on :)

musachy

On Wed, Dec 2, 2009 at 10:19 AM, Milos Negovanovic
<mi...@googlemail.com> wrote:
> Hi,
>
> I am trying to get blank app to work under jetty7. At startup I get this
> error:
>
> http://pastie.org/723875
>
> Anyone seen this before? What am I missing?
>
> Regards
> --
> Milos Negovanovic
> milos.negovanovic@googlemail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: blank app under jetty7

Posted by Saeed Iqbal <sa...@gmail.com>.
Congrats :)

On Thursday, December 3, 2009, Milos Negovanovic
<mi...@googlemail.com> wrote:
> On Wed, Dec 02, 2009 at 02:04:01PM -0500, Dale Newfield wrote:
>> Milos Negovanovic wrote:
>> >>>javax.servlet.jsp.JspWriter
>> >
>> >Which jar would that be? I have all jars distributed with jetty7 and
>> >struts2 by default.
>>
>> I don't know which servlet api you're using.
>> 2.3: jsp-api.jar
>> 2.5: jsp-api-2.0.jar
>> 2.4: I don't know, but I would guess that "jsp" and "api" are in the name.
>>
>> -Dale
>
> You are right ... I am missing the JSP jar. After some googling it
> turned out that jetty7 as distributed by Eclipse foundation doesn't
> include needed JSP jars yet. After some more googling I managed to find
> jetty7 distributed by codehouse which has this jar. Blank app works now!
>
> Many thanks.
>
> --
> Milos Negovanovic
> milos.negovanovic@googlemail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

-- 
Saeed Iqbal
Independant Consultant (Freelance)
J2EE - Application Architect / Developer

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: blank app under jetty7

Posted by Milos Negovanovic <mi...@googlemail.com>.
On Wed, Dec 02, 2009 at 02:04:01PM -0500, Dale Newfield wrote:
> Milos Negovanovic wrote:
> >>>javax.servlet.jsp.JspWriter
> >
> >Which jar would that be? I have all jars distributed with jetty7 and
> >struts2 by default.
> 
> I don't know which servlet api you're using.
> 2.3: jsp-api.jar
> 2.5: jsp-api-2.0.jar
> 2.4: I don't know, but I would guess that "jsp" and "api" are in the name.
> 
> -Dale

You are right ... I am missing the JSP jar. After some googling it
turned out that jetty7 as distributed by Eclipse foundation doesn't
include needed JSP jars yet. After some more googling I managed to find
jetty7 distributed by codehouse which has this jar. Blank app works now!

Many thanks.

-- 
Milos Negovanovic
milos.negovanovic@googlemail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: blank app under jetty7

Posted by Dale Newfield <da...@newfield.org>.
Milos Negovanovic wrote:
>>> javax.servlet.jsp.JspWriter
> 
> Which jar would that be? I have all jars distributed with jetty7 and
> struts2 by default.

I don't know which servlet api you're using.
2.3: jsp-api.jar
2.5: jsp-api-2.0.jar
2.4: I don't know, but I would guess that "jsp" and "api" are in the name.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: blank app under jetty7

Posted by Milos Negovanovic <mi...@googlemail.com>.
On Wed, Dec 02, 2009 at 01:38:34PM -0500, Dale Newfield wrote:
> Milos Negovanovic wrote:
> >http://pastie.org/723875
> 
> Says:
> > Caused by: java.lang.ClassNotFoundException:
> > javax.servlet.jsp.JspWriter
> 
> So, is there a .jar in your application's classpath that contains this?

Which jar would that be? I have all jars distributed with jetty7 and
struts2 by default.

Regards
-- 
Milos Negovanovic
milos.negovanovic@googlemail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: blank app under jetty7

Posted by Dale Newfield <da...@newfield.org>.
Milos Negovanovic wrote:
> http://pastie.org/723875

Says:
 > Caused by: java.lang.ClassNotFoundException:
 > javax.servlet.jsp.JspWriter

So, is there a .jar in your application's classpath that contains this?

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org