logo
down
shadow

error while exporting grails 2 plugin to grails 3


error while exporting grails 2 plugin to grails 3

Content Index :

error while exporting grails 2 plugin to grails 3
Tag : grails , By : Alex Bartzas
Date : November 29 2020, 09:01 AM

will help you Solution 1: Use provided rather than compile 'something', { export = false} as:
configurations {
    provided
}
sourceSets {
    main { 
          compileClasspath += configurations.provided 
    }
}
dependencies {
    provided ':spring-security-acl:2.0-RC1'
}

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Grails application using grails-gradle-plugin gets PermGen space error upon run-app


Tag : grails , By : Scott Everts
Date : March 29 2020, 07:55 AM
may help you . I have a multi-project gradle build that has several Grails app. One of these app contains many artefacts (controllers, services, groovy code, etc...). , Add the following lines to the begin of your gradle.build
import org.grails.gradle.plugin.GrailsTask

tasks.withType(org.grails.gradle.plugin.GrailsTask) { Task t ->
    t.jvmOptions {
        jvmArgs '-Xms32m -Xmx1524m -XX:PermSize=32m -XX:MaxPermSize=512m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC'.split(' ')
    }
}

Grails Plugin install error: java.lang.NoClassDefFoundError: org/grails/plugins/tomcat/fork/ForkedTomcatServer$_findSyst


Tag : tomcat , By : al.
Date : March 29 2020, 07:55 AM
I wish this help you Running application without forking fixed the problem.
Simply add this line to BuildConfig.groovy
grails.project.fork.run=false

Grails Inline Plugin causes packaging error in grails 2.3.8


Tag : grails , By : Govind Bhavan
Date : March 29 2020, 07:55 AM
hope this fix your issue The behavior is caused by a bug in grails 2.3.8 (http://jira.grails.org/browse/GRAILS-11360)
A workaround is to include the following line of config in the BuildConfig.groovy
grails.project.work.dir = "target/work"

Grails 2.4.0 - Error: ClassNotFoundException: grails.plugin.spock.test.GrailsSpecTestType


Tag : grails , By : anov
Date : March 29 2020, 07:55 AM
seems to work fine With Grails 2.4.0 you don't need to make any mention of Spock in BuildConfig.groovy. See the sample project at https://github.com/jeffbrown/spockdemo.
When you can, you should look at upgrading to the latest in the 2.4.x line. A number of issues have been addressed since 2.4.0 was released.

Grails 2.3.9 - Error: ClassNotFoundException: grails.plugin.spock.test.GrailsSpecTestType


Tag : grails , By : Funkwarrior
Date : March 29 2020, 07:55 AM
will help you Whenever I enter the grails command: test-app I get this error: , for Grails 2.2+ try this code in your BuildConfig:
grails.project.dependency.resolution = {
  repositories {
    grailsCentral()
    mavenCentral()
  }
  dependencies {
    test "org.spockframework:spock-grails-support:0.7-groovy-2.0"
  }
  plugins {
    test(":spock:0.7") {
      exclude "spock-grails-support"
    }
  }
}
Related Posts Related QUESTIONS :
shadow
Privacy Policy - Terms - Contact Us © scrbit.com