So, when I do provide (as I wrote before) -javaagent:c:\\spring-
agent.jar, and I start up GWT hosted environment through Run in
eclipse, I get an exception like this:
Caused by: java.lang.IllegalStateException: ClassLoader
[com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload
$WebAppClassLoaderExtension] does NOT provide an 'addTransformer
(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or
start your Java virtual machine with Spring's agent: -javaagent:spring-
agent.jar

Not sure how to get around gwt jetty launcher's inability to accept a
load-time weaver.

Anyone?

Thanks,
Yaakov.

On Nov 4, 10:32 am, Yaakov <yaakov.chai...@gmail.com> wrote:
> > to be honest, this sounds like it is not so much a gwt thing as it is a
> > hibernate/spring thing.
>
> It IS a GWT thing in the sense that it is the Jetty server which the
> GWT Eclipse plugin starts up which refuses to recognize that I am
> starting its JVM with a -javaagent. Why it does that? I don't know...
> All I want to get to is being able to refresh the hosted browser after
> I make some change in the GWT code and see it in the hosted browser
> instantly.
>
> > i've used hibernate/spring a lot with jpa, and never had to specify a weaver
> > via an extra JVM argument.  it seems a bit odd.
>
> Well, I didn't make this up, really. Take a look at Spring
> documentation for 
> 2.5.5:http://static.springsource.org/spring/docs/2.5.x/reference/orm.html#o...
>
> ALL 3 options mention weaving.
>
> > i'm not trying to dodge the
> > question, but typically i solve these issues with google searches.
>
> I haven't found anything wrt GWT provided servlet engine, i.e. jetty
> bundled with GWT. The only link I found, I provided, but that doesn't
> seem to work anyway.
>
> If anyone has any ideas, please suggest.
>
> Thanks,
> Yaakov.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to