Quantcast

Bad artifact coordinates javax.mail

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bad artifact coordinates javax.mail

Bocar Alpha Ba
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

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bad artifact coordinates javax.mail

Justin Miranda
Remove the space in provided 'javax.mail: mail: 1.4.7' 

On Tuesday, September 20, 2016, Bocar Alpha Ba <[hidden email]> wrote:
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

--
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 <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;grails-dev-discuss%2Bunsubscribe@googlegroups.com&#39;);" target="_blank">grails-dev-discuss+unsubscribe@....
To post to this group, send email to <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;grails-dev-discuss@googlegroups.com&#39;);" target="_blank">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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CADxhddSOYvERCdL5_-pa5UOvvikP3fwyQdEPM2b-QiY9sB_b8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bad artifact coordinates javax.mail

Bocar Alpha Ba
In reply to this post by Bocar Alpha Ba

It worked, thank you

Le mardi 20 septembre 2016 14:26:44 UTC+2, Bocar Alpha Ba a écrit :
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

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/2874f122-c29a-4e57-851d-e44b3b6eb0da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...