Re: Struts 2.1.6 + Guice 1.0

2009-04-28 Thread Li
Thx Brian, I will take a look at it. 2009/4/28 Brian Pontarelli > > The plugin has problems with custom type converters and other > framework classes because these are sometimes created by Struts prior > to Guice being initialized. There is the source code for a working > version inside this JAR

Re: Struts 2.1.6 + Guice 1.0

2009-04-28 Thread Adam Ruggles
I submitted a bug in Struts2 about this but it was rejected. I have also created a custom ObjectFactory class for my integration. 2009/4/28 Brian Pontarelli > > The plugin has problems with custom type converters and other > framework classes because these are sometimes created by Struts prior

Re: Struts 2.1.6 + Guice 1.0

2009-04-28 Thread Brian Pontarelli
The plugin has problems with custom type converters and other framework classes because these are sometimes created by Struts prior to Guice being initialized. There is the source code for a working version inside this JAR file: http://savant.inversoft.org/org/jcatapult/jcatapult-s

Re: Struts 2.1.6 + Guice 1.0

2009-04-28 Thread ampyx
Hey Jordi, thanks for your reply. I already used 1.0.1 version plug- in. The problem came up with this version. On 4月28日, 下午5时39分, jordi wrote: > download the struts2 plugin version 1.0.1. > > http://google-guice.googlecode.com/files/guice-struts2-plugin-1.0.1.jar > > it should fix your problem!

Re: Struts 2.1.6 + Guice 1.0

2009-04-28 Thread ampyx
hey jordi, thanx for your reply. I really used guice-s2 plugin... the problem came up with 1.0.1 version. On 4月28日, 下午5时39分, jordi wrote: > download the struts2 plugin version 1.0.1. > > http://google-guice.googlecode.com/files/guice-struts2-plugin-1.0.1.jar > > it should fix your problem! > > j

Re: Struts 2.1.6 + Guice 1.0

2009-04-28 Thread jordi
download the struts2 plugin version 1.0.1. http://google-guice.googlecode.com/files/guice-struts2-plugin-1.0.1.jar it should fix your problem! jordi On 4/28/09, ampyx wrote: > > Hey guys, > > I am new to Guice 1.0. I was trying to integrate guice 1.0 with > struts2.1.6. I got an error : > > j

Struts 2.1.6 + Guice 1.0

2009-04-28 Thread ampyx
Hey guys, I am new to Guice 1.0. I was trying to integrate guice 1.0 with struts2.1.6. I got an error : java.lang.NullPointerException at com.google.inject.struts2.GuiceObjectFactory $ProvidedInterceptor.destroy(GuiceObjectFactory.java:214) at org.apache.struts2.dispatcher.Dispat