似乎弹簧重新加载会导致 Grails 3.0.0.M2 中的 JDK 8u40 出现错误。我可以在开发模式下禁用重新加载吗?在 build.gradle 或 application.yml 中是否有要设置的密钥?
问问题
1422 次
2 回答
4
Not sure if it helps in above case. I use below over grails 2.3.8 to disable auto compile.
grails -Dserver.port=8090 -Dserver.env=development -Denable.jndi=true -Ddisable.auto.recompile=true run-app
where
disable.auto.recompile=true
disables autocompile and autoreload of changes .
server.env
- the environment in which you want the application to run.
server.port
- port on which application will run
enable.jndi
- to enable jndi support
You may set these variables in Gradle build.
于 2015-03-17T10:45:56.097 回答
1
于 2016-12-30T18:12:07.877 回答