This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Error occurred running Grails CLI: No profile found for name [web]. When Netbeans load and run a Grails 3.x previous project. | ||
---|---|---|---|
Product: | groovy | Reporter: | juanramonrico |
Component: | Editor | Assignee: | bruno.flavio |
Status: | CLOSED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | Dev | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
juanramonrico
2016-10-07 08:09:32 UTC
Hello, thank you for reporting this issue. I couldn't replicate the described issue yet, here's what I tried: 1. Clone the petclinic repository; 2. Set the grails version in NetBeans to the project's version: 3.0.3; 3. Run the project, works as expected; 5. Stop the running project. 6. Change the gradle.properties grailsVersion to 3.0.11; 7. Set the grails version in NetBeans to 3.0.11; 8. Run the project, works as expected. Could give me some guidance in order to reproduce this? -Bruno Hello Bruno, I follow your steps and everything run well. My old petclinc clone had four months ago and a few changes to adapt 3.0.3 original version to 3.1.x. I started again with: 1. clone petclinic 2. I tested with Grails 3.0.3 with Netbeans 8.2 and dev Build 201610090002. Everything works well. 3. In order to upgrade petclinic project, I created a new empty project with dev build (Grails 3.2.0) and I copy build.gradle and gradle.properties to the previous petclinic project. 4. Again, I tested the new Grails 3.2.0 with Netbeans 8.2 and dev Build 201610090002 with upgraded petclinic. Everything works well. So, thanks for your answers and I changed this issue status. All right, thank you for the feedback. If you end up seeing that there's something more to it please reopen the issue with additional information. -Bruno |