Questions tagged [grails-3.1]

Version 3.1 of the grails Open Source web application framework that uses the Spring, Hibernate, Groovy programming language, which is in turn based on the Java virtual machine (JVM) and Java. Use it in addition to the grails and grails-3 tags in specific question to grails 3.1.

From the Grails documentation:

What's new in Grails 3.1?

Grails 3.1 is at the milestone stage, but already includes the following new features.

Spring Boot 1.3 and Spring 4.2

Grails 3.1 has been upgraded to Spring Boot 1.3 and Spring 4.2.

Improvements to Grails 3 Profiles

Profile Publishing and Repositories

The following improvements are available in Grails profiles:

  • Profiles are now published as regular JAR files to any Maven compatible repository (Artifactory, Nexus etc.).
  • Additional profiles can be created easiy with the new create-profile command.
  • Profiles can now contribute to the generation of the build
  • Profiles can now have one or many features

For more information see the new section on Profiles in the user guide.

175 questions
0
votes
2 answers

gradle test does not run Geb tests

In Grails 3.1.4: If I use the Grails create-functional-test command and create a Geb test, when I use the Gradle test task it does not run the Geb test, it only runs the unit and integration tests, not the functional. If I use the Grails test-app…
DAC
  • 707
  • 1
  • 6
  • 20
0
votes
3 answers

Grails 3 fontawesome setup

i'm attempting to include fontawesome (fa) in my grails 3 project. I saw for grails2 there was a plugin for this, but the configuration and explanation for how to install this plugin didn't seem to work in grails 3. So I tried to add fa more or…
WizardsOfWor
  • 2,974
  • 29
  • 23
0
votes
1 answer

Grails 3 app is 404 in JBoss EAP 6

If I create a new web profile app, and generate-all, it runs fine in my local and deploys without error to JBoss. But when I try to access the app all URLs return 404. I know the app started up successfully, because it created tables in the…
DAC
  • 707
  • 1
  • 6
  • 20
0
votes
1 answer

Not able to create hello world program using Grails 3.1.3 or Grails 2.5.4

My project is based on Grails 2.2.2. Now I need to upgrade to Grails 2.5.4 in order to upgrade Groovy version 2.4.4 Hence, I downloaded Grails 2.5.4 and set up the Grails Home in environment variable and bin folder in class path. From command line…
0
votes
1 answer

Grails 3.1.2 project by Jenkins: Unknown command-line option '-n'

I copy-pasted jenkins job (which works in Grails 2.4.5) but it fails in new Grails 3.1.2 project: Started by user Michal Szulc Building in workspace > /usr/bin/git rev-parse --is-inside-work-tree…
Michal_Szulc
  • 4,097
  • 6
  • 32
  • 59
0
votes
2 answers

Gradle - exclude jar from dependencies only for production

I'm about to deploy my Grails 3 web-app using gradle assemble to create the war file, and I'm trying to exclude a few jar files from it. In particular I added in my build.gradle configuration file dependencies { [...] assets…
ilPittiz
  • 734
  • 1
  • 10
  • 23
0
votes
2 answers

Grails 3 - Configure embedded Tomcat bind address

I am running my Grails 3.1.3 application as standalone JAR using the embedded Tomcat servlet container and start the WAR by the following command: java -jar -server -Dserver.host=127.0.0.1 -Dserver.port=50000 -Dgrails.env=prod -Xmx768M myApp.war By…
saw303
  • 8,051
  • 7
  • 50
  • 90
0
votes
1 answer

Getting an error while starting Grails

I get the following error when I start Grails. java.lang.NullPointerException at org.grails.cli.GrailsCli.initializeProfile(GrailsCli.groovy:504) at org.grails.cli.GrailsCli.initializeApplication(GrailsCli.groovy:308) at…
allthenutsandbolts
  • 1,513
  • 1
  • 13
  • 34
0
votes
1 answer

No such algorithm - bcrypt

I'm using Spring Security with bcrypt for password security. It's actually in a Grails application. When the application starts up I get: "No such algorithm [bcrypt]" I traced the error to the code in Spring security: try { return…
Greg Pagendam-Turner
  • 2,356
  • 5
  • 32
  • 49
-1
votes
1 answer

Grails 3.1 Testing Controllers as Integration

I'm having problems with integration test about controllers with Grails 3 (more specific Grails 3.1.3). As the documentation said, now testing controllers is recommended to create a Geb functional test, but is a hard work to transform all the…
1 2 3
11
12