Hi,
I'm testing out GWT 1.6 with Eclipse Ganymede and the GWT plugin.
I've attempted to migrate a simple GWT 1.5 app that was completely
maven/jetty based and see if it can be tested out with hosted mode
jetty.
I need to supply a -javaagent parameter to the Jetty hosted mode
server JVM for spring configuration.
I was hoping by editing the launch configuration VM arguments, I could
easily set this parameter.
So I choose - Edit Launch Configuration > Arguments > VM Arguments:
-javaagent:${project_loc}\war\WEB-INF\lib\spring-agent-2.5.4.jar
And then invoke Run as Web Application
Unfortunately I get an error message when launching this configuration
inferring the -javaagent property is not set
:-
[WARN] Failed startup of context
com.google.gwt.dev.shell.jetty.JettyLauncher
$webappcontextwithrel...@13c29fe{/,C:\technology\workspace\test_web
\war}
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.context.weaving.AspectJWeavingEnabler#0':
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'loadTimeWeaver': Initialization of bean
failed; nested exception is 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
Is there anything I can do here to get this to work?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---