2
我正在將應用程序從grails 1.3.6遷移到2.0,我需要更改其上下文根。如果我沒有記錯的話,在1.3.6中我安裝了模板插件並進行了更改:更改grails中的上下文根2
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>/newcontextroot</param-value>
</context-param>
我在2.0中做了同樣的事,但沒有成功。任何提示?
感謝
已經嘗試過,但彈簧安全核心登錄不斷髮送給我http:// localhost/ appname/login/auth?login_error = 1,也許這是一個插件問題 – xain 2012-01-04 20:52:19
這是當你部署戰爭,或就在你使用'run-app'的時候?或兩者? – 2012-01-04 20:53:27
另外,你有'[這些屬性](http://grails-plugins.github.com/grails-spring-security-core/docs/manual/guide/13%20URL%20Properties.html)在'配置.groovy'使用硬編碼的上下文? – 2012-01-04 20:56:27