Results 1 to 1 of 1

Thread: Eclipse STS 2.9.2 cannot debug grails web application

  1. #1
    Join Date
    Jun 2012
    Location
    San Diego, CA
    Posts
    1

    Default Eclipse STS 2.9.2 cannot debug grails web application

    I am running on Windows 7 (64 bit) with Java 1.6.29 (64 bit). I have upgraded from Eclipse STS 2.9.0/Grails 1.3.7 to Eclipse 2.9.2/Grails/2.04. I have been developing a Java/Groovy web application in the older environment. After installing the new versions I can no longer debug the Grails web application from the Eclipse STS IDE. The application starts but when I click on the URL that displays in the console, I get a 404 error. If I try to access the application from a web browser, I get a 404 as well. If I RUN (not debug) the application, it works fine. Is anyone aware of this type of problem?

    Thanks,
    Steve

    UPDATE: I have installed Eclipse Indigo and then applied the Eclipse STS/Grails updates per the Eclipse STS Installation instructions and I can debug my application fine. I will probably just stick with that installation for now.

    UPDATE #2: This started happening with the raw Eclipse installation updated with Grails/STS. It seems to be related to 3rd party plugins that are used by the application - in this case Rabbit MQ. Not sure why you can debug the application for a period of time and then debugging of the application stops working. After examing the log in debug mode there was a "java.lang.ClassCircularityError" exception being thrown by Rabbit MQ and this was causing the war to not be deployed. There is a grails option "-noreloading" that I have tried and this seems to fix the problem.
    Last edited by ss1; Jun 28th, 2012 at 11:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •