Grails项目无法自动重新加载 [英] Grails Project Not Auto Reloading
问题描述
我有一个更大的Grails项目,我已经接手了开发工作.我以前使用过Grails,而我发现真正不错的功能之一就是在开发时自动编译/重新加载.
I have a larger Grails project for which I have taken over development. I have used Grails before and one of the features that I found really nice-to-have is the auto-compilation/reloading when developing.
过去,我不需要做任何特殊的事情来完成这项工作,但是由于某些原因,它并未为该项目触发.
I haven't had to do anything special to make this work in the past, however for some reason it is not triggered for this project.
我做一个简单的"grails run-app",并在服务器启动时修改文件-什么都没有!有什么建议吗?
I do a simple "grails run-app" and modify a file when server is started - nothing! Any suggestions?
Windows 7,Grails 2.0.1,Java 1.6u35
Windows 7, Grails 2.0.1, Java 1.6u35
IDE:Groovy Grails工具套件3.1.0.M1-基于Eclipse Juno 4.2
IDE: Groovy Grails Tool Suite 3.1.0.M1 - Based on Eclipse Juno 4.2
推荐答案
我的解决方案:
右键单击项目->属性->项目构面->检查 Java 并设置其正确版本->确定
Right click on project -> Properties -> Project Facets -> check Java and set it's correct version -> OK
宾果!
这篇关于Grails项目无法自动重新加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!