« Return to Thread: Problems Upgrading Acegi Plugin from 0.2 to 0.3

Re: Problems Upgrading Acegi Plugin from 0.2 to 0.3

by burtbeckwith :: Rate this Message:

Reply to Author | View in Thread

There's no import because they're in the same package.

Burt

On Tuesday 20 May 2008 11:26:45 am tran duc trung wrote:

> i did not see any import of RedirectUtils in LogoutFilterFactoryBean class.
> I tried to import the class in spring-security and it seems to work now.
>
> Trung
>
> 2008/5/20 Burt Beckwith <burt@...>:
> > Are you talking about Eclipse using the plugin or is it also a real
> > problem on
> > the commandline?
> >
> > Make sure that you're compiling Groovy to some directory other than the
> > root
> > dir (e.g. bin-groovy) and that it's in your classpath.
> >
> > I've noticed that whenever I change the classpath in a project that uses
> > a plugin where Java classes call Groovy classes that I have to
> > right-click some
> > or all of the Groovy classes and call 'Compile Groovy File', and
> > RedirectUtils is one of those for me. The plugin doesn't handle this very
> > well.
> >
> > btw - this is only loosely related to the email you're replying to - it
> > should
> > be its own thread.
> >
> > Burt
> >
> > On Tuesday 20 May 2008 11:05:30 am tran duc trung wrote:
> > > Hi,
> > >
> > > I've just upgraded to acegi-0.3 but it does not work. The class
> > > RedirectUtils can not be found in LogoutFilterFactoryBean.
> > >
> > > Trung
> > >
> > > 2008/5/2 Burt Beckwith <burt@...>:
> > > > getMessageSourceAccessor() is a method a few classes deep in the
> > > > hierarchy in
> > > > a Spring class. Have you changed any of your Spring jars? Also, which
> > > > version
> > > > of Java are you running?
> > > >
> > > > Burt
> > > >
> > > > On Friday 02 May 2008 2:06:57 am krogers wrote:
> > > > > Well, after a lot of experimentation and investigation I have given
> >
> > up
> >
> > > > > trying to resolve the issue I have been having after upgrading my
> > > >
> > > > project's
> > > >
> > > > > Acegi Plugin to 0.3, in the hope that posting on here will expedite
> >
> > its
> >
> > > > > resolution!
> > > > >
> > > > > I have followed the steps outlined in the documentation for
> > > > > upgrading
> > > >
> > > > from
> > > >
> > > > > 0.2 to 0.3, but when I try to start up I get the following
> > > > > Exception:
> > > > >
> > > > > Error executing script RunApp: (class:
> > > > > org/codehaus/groovy/grails/plugins/springsecurity/GrailsDaoImpl,
> > > > > method: super$2$getMessageSourceAccessor signature:
> > > > > ()Lorg/springframework/context/support/MessageSourceAccessor;)
> >
> > Illegal
> >
> > > > use
> > > >
> > > > > of nonvirtual function call
> > > > > java.lang.VerifyError: (class:
> > > > > org/codehaus/groovy/grails/plugins/springsecurity/GrailsDaoImpl,
> > > > > method: super$2$getMessageSourceAccessor signature:
> > > > > ()Lorg/springframework/context/support/MessageSourceAccessor;)
> >
> > Illegal
> >
> > > > use
> > > >
> > > > > of nonvirtual function call
> > > > >
> > > > > I am using Grails 1.0.2 and have tried (many times) cleaning via
> >
> > grails
> >
> > > > > clean & clearing out the contents of the .grails folder. I haven't
> > > >
> > > > included
> > > >
> > > > > the full stack trace as it didn't show much interesting but can
> >
> > attach
> >
> > > > > it if needed.
> > > > >
> > > > > Cheers,
> > > > > Kris
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe from this list, please visit:
> > > >
> > > >    http://xircles.codehaus.org/manage_email
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Problems Upgrading Acegi Plugin from 0.2 to 0.3

LightInTheBox - Buy quality products at wholesale price