You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by shahab <sm...@pershing.com> on 2007/02/02 19:06:09 UTC

SEVERE: Exception starting filter struts2

Hi:

I am getting the following error when I try to bring up my app - 

SEVERE: Exception starting filter struts2 
 Cannot locate the chosen ObjectFactory implementation: spring - [unknown 
location] 
   at
org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:198) 

I have the following in struts.xml =
  <constant name="struts.objectFactory" value="spring"/> 

I am using struts 2.0.3 and have spring.jar (from Spring 2.0.2 release) in
WEB-INF/lib directory.

I am trying to do something somilar to the following example -  (for a while
now :(((((((   )
http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html

thanx

-- 
View this message in context: http://www.nabble.com/SEVERE%3A-Exception-starting-filter-struts2-tf3162420.html#a8772139
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: SEVERE: Exception starting filter struts2

Posted by Dave Newton <ne...@yahoo.com>.
--- shahab <sm...@pershing.com> wrote:
> I dont have struts2-Spring-plugin.jar. 

That will be a problem.

Like I said before, I'm using the one from the sample
apps (I'm using the one from showcase).

> but I couldnt find it anywhere.

Search is your friend, either the broken Windows
version, or cygwin (or similar) "find".

d.



 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

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


Re: SEVERE: Exception starting filter struts2

Posted by shahab <sm...@pershing.com>.
Hi:

I dont have struts2-Spring-plugin.jar. This was specified in the list of
jars at the wiki, but I couldnt find it anywhere.

thanx


Dave Newton-4 wrote:
> 
> Do you have the spring plugin jar? I think you
> answered this already but I can't find it.
> 
> --- shahab <sm...@pershing.com> wrote:
> 
>> 
>> Hi:
>> 
>> I am getting the following error when I try to bring
>> up my app - 
>> 
>> SEVERE: Exception starting filter struts2 
>>  Cannot locate the chosen ObjectFactory
>> implementation: spring - [unknown 
>> location] 
>>    at
>>
> org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:198)
>> 
>> 
>> I have the following in struts.xml =
>>   <constant name="struts.objectFactory"
>> value="spring"/> 
>> 
>> I am using struts 2.0.3 and have spring.jar (from
>> Spring 2.0.2 release) in
>> WEB-INF/lib directory.
>> 
>> I am trying to do something somilar to the following
>> example -  (for a while
>> now :(((((((   )
>>
> http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html
>> 
>> thanx
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/SEVERE%3A-Exception-starting-filter-struts2-tf3162420.html#a8772139
>> Sent from the Struts - User mailing list archive at
>> Nabble.com.
>> 
>> 
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> user-unsubscribe@struts.apache.org
>> For additional commands, e-mail:
>> user-help@struts.apache.org
>> 
>> 
> 
> 
> 
>  
> ____________________________________________________________________________________
> Now that's room service!  Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel to find your fit.
> http://farechase.yahoo.com/promo-generic-14795097
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/SEVERE%3A-Exception-starting-filter-struts2-tf3162420.html#a8774127
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: SEVERE: Exception starting filter struts2

Posted by Dave Newton <ne...@yahoo.com>.
Do you have the spring plugin jar? I think you
answered this already but I can't find it.

--- shahab <sm...@pershing.com> wrote:

> 
> Hi:
> 
> I am getting the following error when I try to bring
> up my app - 
> 
> SEVERE: Exception starting filter struts2 
>  Cannot locate the chosen ObjectFactory
> implementation: spring - [unknown 
> location] 
>    at
>
org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:198)
> 
> 
> I have the following in struts.xml =
>   <constant name="struts.objectFactory"
> value="spring"/> 
> 
> I am using struts 2.0.3 and have spring.jar (from
> Spring 2.0.2 release) in
> WEB-INF/lib directory.
> 
> I am trying to do something somilar to the following
> example -  (for a while
> now :(((((((   )
>
http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html
> 
> thanx
> 
> -- 
> View this message in context:
>
http://www.nabble.com/SEVERE%3A-Exception-starting-filter-struts2-tf3162420.html#a8772139
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

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