Grails HTTPS problem

 

by Taras Matyashovsky

 

Today I secured some pages in Grails application using HTTPS. But when I tried to start application with using of a generated key store and SSL certificate for HTTPS:

 

grails run-app-https

 

I've got an exception:

 

Could not execute method PluginManagerHolder.

No such property: PluginManagerHolder for class:

RunAppHttps_groovy

 

And application terminated immediately.

As I discovered later problem lied in RunAppHttps.groovy script which is located under GRAILS_HOME\scripts. You have to add missing import in it:

 

import org.codehaus.groovy.grails.plugins.PluginManagerHolder

 

That solved the problem. Enjoy! 

 
 
 

Comments  

 
0 # John 2010-08-17 16:12 You just need to add a space " " before -https. E.g

grails run-app -https
Reply | Reply with quote | Quote
 

Add comment


Security code
Refresh