Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: failed to read artifact descriptor for xalan

Tags:

grails

xalan

I am getting an error "failed to read artifact descriptor for xalan:serializer:jar 2.7.1 while creating a domain class using "grails create-domain-class Employee" command on command prompt. I am currently using Grails 2.3.7 . Please help me to solve my Error.

Thanks in advance

like image 582
user3725659 Avatar asked Oct 18 '25 23:10

user3725659


1 Answers

Try this:

repositories {
    inherits true // Whether to inherit repository definitions from plugins

    grailsPlugins()
    grailsHome()
    mavenLocal()
    grailsCentral()
    mavenCentral()

    mavenRepo "https://repo1.maven.org/maven2/"
    
}

Works perfectly for me.

like image 114
MIGUEL GIOVANNY QUEVEDO GOMEZ Avatar answered Oct 22 '25 06:10

MIGUEL GIOVANNY QUEVEDO GOMEZ