grails-2.3

Grails 2.3 & GGTS 3.4 stop button not working

淺唱寂寞╮ 提交于 2019-12-06 03:23:23
问题 How to stop grails processes in GGTS 3.4 with grails 2.3. the stop button of GGTS is not stopping the server running and the java.exe processes are still showing in task manager. 回答1: Comment the grails.project.fork = [ .. ] part of your BuildConfig.groovy file. This part enables running run-app, test-app and war in different threads(so you don't have to stop one to start the other), and it seems ggts isn't successfully destroying the thread right now. For reference, here is the related issue

Grails 2.3.7 error when creating a new project

烈酒焚心 提交于 2019-12-05 01:31:01
I just a fresh install: I downloaded and installed JDK and GGTS. I then created a new Grails 2.3.7 project and I get the error message below. Is this a known issue or am I doing something wrong? Command terminated with an exception: java.lang.Exception (see details for partial output) Command: GrailsCommand(P/MangaReader> compile --non-interactive --refresh-dependencies) ---- System.out ---- Loading Grails 2.3.7 . |Environment set to development .......... |Compiling 79 source files .Error | Compilation error: startup failed: C:\Users\\Documents\workspace-ggts-3.5.0.RELEASE\MangaReader\target

Grails 2.3 & GGTS 3.4 stop button not working

有些话、适合烂在心里 提交于 2019-12-04 08:32:17
How to stop grails processes in GGTS 3.4 with grails 2.3. the stop button of GGTS is not stopping the server running and the java.exe processes are still showing in task manager. Comment the grails.project.fork = [ .. ] part of your BuildConfig.groovy file. This part enables running run-app, test-app and war in different threads(so you don't have to stop one to start the other), and it seems ggts isn't successfully destroying the thread right now. For reference, here is the related issue in the ggts bug tracker https://issuetracker.springsource.com/browse/STS-3522 Can you try to disable the

Differences between the Grails @Transactional vs. the Spring @Transactional annotations

女生的网名这么多〃 提交于 2019-12-03 05:54:44
问题 Well there was a point in the Grails Declarative Transactions. It said: The grails.transaction.Transactional annotation was first introduced in Grails 2.3. Prior to 2.3, Spring's @Transactional annotation was used. But I can't seem to find out what the main difference between those two annotations is. Why was the Spring's annotation not used in future releases? 回答1: I would like to address this comment "However, in 2.3 the team felt it was a good idea (I disagree personally) to introduce a

Differences between the Grails @Transactional vs. the Spring @Transactional annotations

余生长醉 提交于 2019-12-02 19:19:11
Well there was a point in the Grails Declarative Transactions . It said: The grails.transaction.Transactional annotation was first introduced in Grails 2.3. Prior to 2.3, Spring's @Transactional annotation was used. But I can't seem to find out what the main difference between those two annotations is. Why was the Spring's annotation not used in future releases? I would like to address this comment "However, in 2.3 the team felt it was a good idea (I disagree personally) to introduce a new annotation which could be applied not only to Services but also to Controllers.” It was never the primary

Grails 2.3 changes css font-face url to “resource:/…”

江枫思渺然 提交于 2019-11-30 03:13:43
问题 I want to include a custom font in my CSS like this: @font-face { font-family: TheFont; src: url(fonts/SourceSansProLight.ttf); } The CSS is served with Grails 2.3 and the CSS is modified to become this @font-face { font-family: TheFont; src: url(resource:/css/fonts/fonts/SourceSansProLight.ttf); } The resulting font url scheme is unknown and browsers can't open that file. Chrome, for example, reports: GET resource:/css/fonts/fonts/SourceSansProLight.ttf net::ERR_UNKNOWN_URL_SCHEME /css/fonts

Grails 2.3.0 Auto-reloading not working

人盡茶涼 提交于 2019-11-27 00:59:23
I recently upgrade our project to grails 2.3.0. Everything works fine except I've been having problems with auto-reload not working whenever I make changes to our code. This include all projects artefacts - controllers, domain, services, gsps, css and javascript files. My older versions of grails work correctly and reloads and recompile every time I make a change. I know this question is popular and I have searched Jira, Nabble and here for days now but none of what I have found have been able to solve my problem (I've even tried to add quotes like Peter suggested in this thread http://jira

Grails 2.3.0 Auto-reloading not working

淺唱寂寞╮ 提交于 2019-11-26 09:32:20
问题 I recently upgrade our project to grails 2.3.0. Everything works fine except I\'ve been having problems with auto-reload not working whenever I make changes to our code. This include all projects artefacts - controllers, domain, services, gsps, css and javascript files. My older versions of grails work correctly and reloads and recompile every time I make a change. I know this question is popular and I have searched Jira, Nabble and here for days now but none of what I have found have been