The embedded Tomcat is launched, via GWT-Maven, using JPDA. I don't know why it's not letting you replace stuff, if it should, but honestly I haven't tried that. I generally can make changes in hosted mode using the embedded server just fine, but haven't try to do that while debugging.
On Jan 27, 11:47 am, noootsab <[email protected]> wrote: > Hi All, > > I'm getting started using GWT and I use to work with maven but there > is something I can't get rid of. > > I'm trying to use the debug goal to debug my app in the embedded > tomcat, then I attach an eclipse debugger on the specified port (8000 > by default). That works fine, but while debugging I can't modify/save > the sources and getting those recompiled in the running tomcat. This > is warned by eclipse (when saving a class where a message *string* has > been modified -> nothing critical) : > > [warn] > Some code changes cannot be hot swapped into a running virtual > machine, such as changing medthod names or introducing errors in code. > > The current target virtual machine [Java HotSpot(TM) Client VM > [localhost:8000]] from launch [war debug mvn] was unable to replace > the running code with the code in the workspace. > > It is safe to continue running the application, but you may notice > discrepancies when debugging this application. > > Reason: > Hot code replace failed - Class modifiers change no implemented > [/warn] > > Does someone have an idea ? If the embedded tomcat is launched with > jpda, then this error shouldn't happen anymore ? > > Thanks a lot. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" 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/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
