grails-plugin

Failed to resolve dependencies during grails plugins installation

爱⌒轻易说出口 提交于 2020-01-12 01:34:45
问题 I deleted my .grails folder from my PC and when I opened an application in Intellij IDE, the plugins mentioned in buildConfig.groovy start installing. A few plugins were installed but six plugins were unable to install. The following error occurred. "C:\Program Files\Java\jdk1.7.0_75\bin\java" -Dgrails.home=C:\grails-2.1.1 -Dbase.dir=F:\Projects\sms-sender "-Dtools.jar=C:\Program Files\Java\jdk1.7.0_75\lib\tools.jar" -Dgroovy.starter.conf=C:\grails-2.1.1/conf/groovy-starter.conf -Xmx768M

Failed to resolve dependencies during grails plugins installation

柔情痞子 提交于 2020-01-12 01:34:43
问题 I deleted my .grails folder from my PC and when I opened an application in Intellij IDE, the plugins mentioned in buildConfig.groovy start installing. A few plugins were installed but six plugins were unable to install. The following error occurred. "C:\Program Files\Java\jdk1.7.0_75\bin\java" -Dgrails.home=C:\grails-2.1.1 -Dbase.dir=F:\Projects\sms-sender "-Dtools.jar=C:\Program Files\Java\jdk1.7.0_75\lib\tools.jar" -Dgroovy.starter.conf=C:\grails-2.1.1/conf/groovy-starter.conf -Xmx768M

Grails Url shortener plugin not getting installed

喜夏-厌秋 提交于 2020-01-11 06:47:07
问题 I am trying to add a new plugin mentioned here in my app but it is not been resolved and giving me a error i.e. :: problems summary :: :::: WARNINGS module not found: org.grails.plugins#url-shortener;0.2.1 ==== grailsPlugins: tried -- artifact org.grails.plugins#url-shortener;0.2.1!url-shortener.zip: ... ==== grailsHome: tried /opt/grails/lib/org.grails.plugins/url-shortener/ivy-0.2.1.xml -- artifact org.grails.plugins#url-shortener;0.2.1!url-shortener.zip: /opt/grails/lib/org.grails.plugins

Grails 2.2.1 app cannot resolve dependencies

随声附和 提交于 2020-01-07 04:50:50
问题 I am running into problems setting up an existing grails (2.2.1) project on a new mbp. I get dependency resolution errors whenever I try to run any grails command. It seems that it cannot resolve any grails plugins that are marked with the compile phase like below. compile ":cache:1.0.0" I've taken a look at the org.grails.plugins repository to make sure the plugins exist, and they all appear to be there. I cannot for the life of me figure out why it cannot resolve these plugins. A coworker

Why do grails Quartz jobs die after a few minutes on production?

允我心安 提交于 2020-01-05 05:18:10
问题 Using the grails Quartz plugin (latest stable version, 0.4.2), I have four different Jobs that run fine in my development environment, most of them every minute. However in the production environment, they run for a few minutes and then "die" - they just don't run anymore. There is no Exception thrown or similar. The rest of the application still works fine. Does anybody have an idea what the reason for this could be? Where / How should I start analyzing the problem? 回答1: I also ran into an

How to call Service in Grails with groovy

时光怂恿深爱的人放手 提交于 2020-01-04 18:16:05
问题 I have one service in that i have a method to call and how can i acces this service. I have seen sms plugin and installed it and How can i send sms from my application to the different mobiles.I followed the grails sms plugin but i didn't get any results ecxept ecxeptions class SipgateService { static transactional = true def serviceMethod() { def sipgateService //def phoneNumber = 'XXXXXXXXXX' //phoneNumber according to E.164 specification //working alternative: println "service" def

Grails 3 mail plugin not working

回眸只為那壹抹淺笑 提交于 2020-01-04 05:05:12
问题 Using Grails 3 it's impossible to get an instance of mailService object, DI is not working: build.gradle compile "org.grails.plugins:mail:1.0.7" testCompile "org.grails.plugins:mail:1.0.7" application.groovy environments { development { //grails.logging.jul.usebridge = true grails.plugin.springsecurity.debug.useFilter = true grails { mail { host = "main.mydomain.com" port = 25 username = "login" password = "password" props = ["mail.smtp.auth":"true"] } } grails.mail.default.from="noreply

Overwrite a plugin GSP and Controller within another Plugin

余生长醉 提交于 2020-01-03 16:24:26
问题 I have a fairly complicated grails plugin dependency structure within my project and I am having problems overriding classes from the security plugin. My structure is a little something like this: Web App |_ Audit Plugin |_ Spring Security Core Plugin |_ Security Wrapper Plugin |_ Audit Plugin |_ Spring Security Core Plugin The reason it is like this is audit is shared between some apps which have the security wrapper, and some what don't, which is why it pulls in Security-Core (it needs at

Overwrite a plugin GSP and Controller within another Plugin

丶灬走出姿态 提交于 2020-01-03 16:24:05
问题 I have a fairly complicated grails plugin dependency structure within my project and I am having problems overriding classes from the security plugin. My structure is a little something like this: Web App |_ Audit Plugin |_ Spring Security Core Plugin |_ Security Wrapper Plugin |_ Audit Plugin |_ Spring Security Core Plugin The reason it is like this is audit is shared between some apps which have the security wrapper, and some what don't, which is why it pulls in Security-Core (it needs at

Downloading a Grails plugin

对着背影说爱祢 提交于 2020-01-03 05:40:11
问题 Is there a Maven repo from where I can download grails plugin files. I know I can do install-plugin name but I want to store it in my repo. 回答1: Grails Plugin Repo can be found here http://repo.grails.org/grails/plugins/org/grails/plugins/ or you can browse Artifactory and search for the plugin you need. 来源: https://stackoverflow.com/questions/18136375/downloading-a-grails-plugin