Bad artifact coordinates javax.mail

119 views
Skip to first unread message

Bocar Alpha Ba

unread,
Sep 20, 2016, 8:26:44 AM9/20/16
to Grails Dev Discuss
Hi,

I want to send mails with log4j when an exception occurs.
When I put in my buildconfig this:

dependencies {
provided
'javax.mail: mail: 1.4.7'
provided
"javax.activation: activation: 1.1"
}
Grails answers me the following:
java.lang.IllegalArgumentException: Bad artifact coordinates javax.mail: mail: 1.4.7, expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>


Please ideas

Justin Miranda

unread,
Sep 20, 2016, 8:50:22 AM9/20/16
to grails-de...@googlegroups.com
Remove the space in provided 'javax.mail: mail: 1.4.7' 
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-discuss+unsub...@googlegroups.com.
To post to this group, send email to grails-dev-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/1883bd63-5364-4048-8378-a55cb2d35c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bocar Alpha Ba

unread,
Sep 20, 2016, 9:33:55 AM9/20/16
to Grails Dev Discuss

It worked, thank you
Reply all
Reply to author
Forward
0 new messages