Grails 1.2 SNAPSHOT and Maven : SLF4J problem

View: New views
2 Messages — Rating Filter:   Alert me  

Grails 1.2 SNAPSHOT and Maven : SLF4J problem

by Michel R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm trying to use the grails maven plugin with grails 1.2 SNAPSHOT.

When I run 'mvn initialize', I get this error :

  [INFO] Unable to start Grails
  Embedded error: java.lang.reflect.InvocationTargetException
  org.slf4j.impl.StaticLoggerBinder

But slf4j-log4j12 is declared in my pom as a runtime dependency ... (I've tried setting it as a compile dependency, it does not help).

I am using Maven 2.1.0 and the snapshot version of the grails-maven-plugin (1.2-20090917.092015-1 precisely).

I've seen something in JIRA that looks like my problem : http://jira.codehaus.org/browse/GRAILS-4926
But the bug has been resolved in 1.1 it seems. Is this a regression ?

Regards,


Re: Grails 1.2 SNAPSHOT and Maven : SLF4J problem

by Graeme Rocher-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please JIRA with steps to reproduce

Cheers

On Mon, Oct 12, 2009 at 2:01 PM, Michel R <michel.rasschaert@...> wrote:

>
> Hello,
>
> I'm trying to use the grails maven plugin with grails 1.2 SNAPSHOT.
>
> When I run 'mvn initialize', I get this error :
>
>  [INFO] Unable to start Grails
>  Embedded error: java.lang.reflect.InvocationTargetException
>  org.slf4j.impl.StaticLoggerBinder
>
> But slf4j-log4j12 is declared in my pom as a runtime dependency ... (I've
> tried setting it as a compile dependency, it does not help).
>
> I am using Maven 2.1.0 and the snapshot version of the grails-maven-plugin
> (1.2-20090917.092015-1 precisely).
>
> I've seen something in JIRA that looks like my problem :
> http://jira.codehaus.org/browse/GRAILS-4926
> But the bug has been resolved in 1.1 it seems. Is this a regression ?
>
> Regards,
>
>
> --
> View this message in context: http://www.nabble.com/Grails-1.2-SNAPSHOT-and-Maven-%3A-SLF4J-problem-tp25854520p25854520.html
> Sent from the grails - dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Head of Grails Development
SpringSource - Weapons for the War on Java Complexity
http://www.springsource.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email