The eventConfigureTomcat is not invoked in Grails 2.3. How to config tomcat in grails 2.3 development environment?

后端 未结 3 1725
灰色年华
灰色年华 2021-01-24 04:23

I created _Events.groovy in script directory then added code below:

eventConfigureTomcat = {tomcat ->
    println \"Tomcat.......................         


        
3条回答
  •  深忆病人
    2021-01-24 05:00

    This is a bug and I'm looking into it. It works if you disable fork mode, which you can disable either by deleting the entire grails.project.fork block in BuildConfig.groovy, or by setting the run configuration to false:

    grails.project.fork = [
       ...
       run: false
       ...
    ]
    

提交回复
热议问题