You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Jason Lenhart <jp...@comcast.net> on 2006/05/21 05:27:16 UTC
Cannot find a Spring Listener
I am losing my mind ... where is this class located, in what jar:
>org.springframework.web.context.ContextLoaderListener
I cannot deploy the hello world app because Tomcat cannot find the
class.
Any help is much appreciated,
Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Cannot find a Spring Listener
Posted by Ted Husted <te...@gmail.com>.
Hmmm, I added the Spring dependency to the POMs used by the
aplications on May 9 (r405529). I'm getting a general build failure on
my own checkout right now, so I can't verify whether it's bundling the
Spring JARs in the WARs, as it should. If it doesn't, for now, you may
need to drop the Spring JARs in yourself.
I've updated the wiki to stress that SAF2 is a "work in progress"
right now. Not everything is going to work, and the documentation is
both inconsistent and incomplete. If someone is just getting started
with Action2/WebWork2, a better starting point might be WebWork 2.1,
which is stable and production-ready.
* http://www.opensymphony.com/webwork/
-Ted.
On 5/21/06, Jason Lenhart <jp...@comcast.net> wrote:
> Thank you for your help. Sorry ... but I just want it to work ...
> and after 3 hours it gets a bit daunting and makes me just give up.
>
> I am just wondering why the spring web jar is not listed as a
> dependency on the wiki?
>
> My guess is that the jar that houses this class is packaged in Jetty
> already and this is why it works.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [action2] Re: Cannot find a Spring Listener
Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
Ted Husted wrote:
> Struts Action 1 does not utilizes Spring, but SAF2 uses Spring as its
> internal object factory by default, and, optionally, Shale can use
> Spring as a factory for managed beans.
More precisely, SAF2 *can* use Spring as its internal object factory,
and that is indeed the recommended factory (I believe it's even the
default as of WW 2.2.2, not certain of this)... but it doesn't *have* to
use it. It still, as of this moment, has its own object factory
implementation that can be used instead... maybe that will be dropped by
the time the first SAF2 release hits, I don't know.
> -Ted.
Frank
> On 5/21/06, Paul Benedict <pa...@yahoo.com> wrote:
>> Struts does not have Spring as a dependency.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
>
> .
>
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: fzammetti@hotmail.com
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
[action2] Re: Cannot find a Spring Listener
Posted by Ted Husted <te...@gmail.com>.
Struts Action 1 does not utilizes Spring, but SAF2 uses Spring as its
internal object factory by default, and, optionally, Shale can use
Spring as a factory for managed beans.
-Ted.
On 5/21/06, Paul Benedict <pa...@yahoo.com> wrote:
> Struts does not have Spring as a dependency.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Cannot find a Spring Listener
Posted by Paul Benedict <pa...@yahoo.com>.
Struts does not have Spring as a dependency.
--- Jason Lenhart <jp...@comcast.net> wrote:
> Thank you for your help. Sorry ... but I just want it to work ...
> and after 3 hours it gets a bit daunting and makes me just give up.
>
> I am just wondering why the spring web jar is not listed as a
> dependency on the wiki?
>
> My guess is that the jar that houses this class is packaged in Jetty
> already and this is why it works.
>
>
>
> On May 21, 2006, at 12:13 AM, Paul Benedict wrote:
>
> > This isn't a struts question. You will find it in
> > www.springframework.org
> >
> > --- Jason Lenhart <jp...@comcast.net> wrote:
> >
> >> I am losing my mind ... where is this class located, in what jar:
> >>
> >>> org.springframework.web.context.ContextLoaderListener
> >>
> >> I cannot deploy the hello world app because Tomcat cannot find the
> >> class.
> >>
> >> Any help is much appreciated,
> >>
> >> Jason
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: dev-help@struts.apache.org
> >>
> >>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Cannot find a Spring Listener
Posted by Jason Lenhart <jp...@comcast.net>.
Thank you for your help. Sorry ... but I just want it to work ...
and after 3 hours it gets a bit daunting and makes me just give up.
I am just wondering why the spring web jar is not listed as a
dependency on the wiki?
My guess is that the jar that houses this class is packaged in Jetty
already and this is why it works.
On May 21, 2006, at 12:13 AM, Paul Benedict wrote:
> This isn't a struts question. You will find it in
> www.springframework.org
>
> --- Jason Lenhart <jp...@comcast.net> wrote:
>
>> I am losing my mind ... where is this class located, in what jar:
>>
>>> org.springframework.web.context.ContextLoaderListener
>>
>> I cannot deploy the hello world app because Tomcat cannot find the
>> class.
>>
>> Any help is much appreciated,
>>
>> Jason
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Cannot find a Spring Listener
Posted by Paul Benedict <pa...@yahoo.com>.
This isn't a struts question. You will find it in www.springframework.org
--- Jason Lenhart <jp...@comcast.net> wrote:
> I am losing my mind ... where is this class located, in what jar:
>
> >org.springframework.web.context.ContextLoaderListener
>
> I cannot deploy the hello world app because Tomcat cannot find the
> class.
>
> Any help is much appreciated,
>
> Jason
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org