grails Questions
2
Solved
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...
Scurrile asked 18/7, 2014 at 13:8
4
I'm running Spock tests by "Right click -> Run -> Test Name". How can I run tests in debug mode? Debug icon run tests but doesn't stop on breakpoints
Martsen asked 11/5, 2012 at 8:5
9
Solved
Error:Cannot compile Groovy files: no Groovy library is defined for module "myprojectname"
I have cloned the project from github and then imported it to inetllij 2017.1.
and also added all dependency modules. Basically, we are trying to upgrade our project using latest jars.
When I tr...
Mandelbaum asked 17/4, 2017 at 11:34
2
I installed sdkman as a root user using curl in CentOS 6.8 I installed Grails using sdkman and it is only available to the root user.
Do I need to install sdkman as other regular user in order fo...
4
Solved
I'm writing a multi-threaded application in Grails and the additional threads need access to GORM/Hibernate. When they try to access GORM I get the error "org.hibernate.HibernateException: No Hiber...
Hogshead asked 24/8, 2010 at 12:48
8
I get the following Exception when saving an instance of Trip in Grails:
2011-01-26 22:37:42,801 [http-8090-5]
ERROR errors.GrailsExceptionResolver
- object references an unsaved transient in...
Contrapuntist asked 26/1, 2011 at 22:4
5
My Grails app uses a h2 database in dev mode (the default behaviour for Grails apps). The DB connection settings in DataSource.groovy are
dataSource {
pooled = true
jmxExport = true
driverClass...
Horntail asked 9/3, 2015 at 11:28
5
I'm trying to download jasper plugin for grails but if I put the dependency in my build.gradle I keep getting this error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occ...
5
Solved
When I became aware of Sublime, I noticed the benefits of dark themes to your workspace. But since Sublime doesn't have support for Grails at the moment, I search for ways to theme STS or SpringSou...
Quinlan asked 23/7, 2012 at 2:9
3
Solved
I have the HQL where I trying to get artifacts that have no classification (when active is 0)
artifacts = Artifact.findAll("FROM Artifact WHERE id NOT IN ( SELECT artifact_id FROM Classification W...
4
Solved
Im using SpringSecurity 2.0-RC2 and want users to give the possibilty to change their passwords while they are online.
My User domain class has the following
def beforeInsert() {
encodePassword...
Padus asked 9/6, 2014 at 7:56
15
Solved
In Windows, JAVA_HOME must point to the JDK installation folder (so that JAVA_HOME/bin contains all executables and JAVA_HOME/libs contains all default jar libraries).
If I download Sun's JDK bund...
Background asked 19/3, 2009 at 19:23
2
Solved
I am using grails 2.3.0 and facing the weird issue when encoding the password with spring security:
This is my method to encode password:
String encodePassword(String password) {
return springSe...
Vestiary asked 21/10, 2013 at 15:14
3
Solved
I have a Grails 4 application providing a REST API. One of the endpoints sometimes fail with the following exception:
io.micronaut.http.client.exceptions.ReadTimeoutException: Read Timeout
at io....
3
Under Grails 2.4.4, we had classes we used as wrappers for domain objects.
They would look like this:
class Foo {
@Delegate
OurDomainClass ourDomainClass
...
}
This worked, but when trying to ...
Christyna asked 6/1, 2016 at 16:53
2
Solved
I'm using the Grails 2.3.8 build system to build my Grails project (i.e., the default system built on top of Gant).
When I annotate my methods with @java.lang.Override, Grails doesn't fail compila...
5
Solved
I've just downloaded Grails 2.0.4 and extracted it to /opt/grails/grails-2.0.4/ and made sure that the GRAILS_HOME environment variable is correct. But whenever I try run the "grails" command, I ge...
Rufena asked 21/6, 2012 at 19:58
5
Solved
I use Grails 2.2.4 (same behaviour in Grails 2.3.11) and have a domain class A that references a domain class B
class A {
static hasOne = [b: B]
static constraints = { b nullable: true }
}
cla...
Homogenous asked 24/11, 2014 at 17:3
3
I'm trying to deploy a Grails 3 application that I've been working on to Heroku but am having issues with the build.gradle file I Think.
The following commands work locally:
./gradlew stage
herok...
3
I've been struggling to debug a Grails 2.5.0 app from inside IntelliJ. Specifically, I'm finding it difficult to configure the app such that
functional tests can be debugged
functional tests ca...
Handknit asked 7/7, 2015 at 16:16
6
Solved
I need to calculate the time elapsed from one specific date till now and display it with the same format as StackOverflow questions, i.e.:
15s ago
2min ago
2hours ago
2days ago
25th Dec 08
Do yo...
1
Having Grails 3.2.11 (Spring 4.3.1, Spring Websocket 4.3.9) I receive log error message that websocket session is idle.
2017-08-09 14:06:45,820 ERROR org.springframework.web.socket.messaging.SubPr...
Conurbation asked 9/8, 2017 at 14:44
5
Solved
Well, it seems a simple task but I didn't manage to make it run.
I have a groovy script that runs fine under Windows Vista when calling from prompt:
> cd MY_GAILS_PROJECT_DIR
> groovy cp sr...
3
Solved
According to the official Grails documentation, it is recommended NOT to specify the dbCreate property in production. So, what happens in that case? Will Grails do anything, such as validation, whe...
Southdown asked 15/9, 2013 at 21:56
5
Solved
I would like to load Environment specific configurations in my grails application so that depending on which JVM the grails application is running on, I can point to that environment specific urls....
Several asked 27/8, 2014 at 17:45
© 2022 - 2024 — McMap. All rights reserved.