cloudwalker84
2014-05-27 18:55:40 UTC
I posted this on stackoverflow, but figured I'd post it here as well since
I'm really stuck on this one.
We've started getting the following exception when deploying to Weblogic:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'alertService': Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mailService': Initialization of bean failed; nested
exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mailMessageBuilderFactory': Initialization of bean failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mailMessageContentRenderer': Initialization of bean failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'groovyPagesTemplateEngine': Cannot resolve reference to bean
'gspTagLibraryLookup' while setting bean property 'tagLibraryLookup'; nested
exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'gspTagLibraryLookup': Invocation of init method failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'grails.plugin.springsecurity.SecurityTagLib': Initialization
of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'webInvocationPrivilegeEvaluator': Cannot resolve reference to
bean 'filterInvocationInterceptor' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'filterInvocationInterceptor': Invocation of init method
failed; nested exception is
java.lang.NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;
[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
I've tried removing the slf4j jar from my ear. I've also tried putting the
following in my weblogic-appliction.xml:
<prefer-application-packages>
<package-name>org.slf4j.*</package-name>
</prefer-application-packages>
<prefer-application-resources>
<resource-name>org/slf4j/impl/StaticLoggerBinder.class</resource-name>
</prefer-application-resources>
Nothing has worked thus far. Basically, I've tried all of the different
things that I've found online. Usually, when I have a conflict with a jar
that I'm providing myself and that Weblogic is also providing, just using
the prefer-application-packages does the trick.
I'm using Grails 2.3.6 with Weblogic 10.3.6.
--
View this message in context: http://grails.1312388.n4.nabble.com/Grails-SLF4J-issue-with-Weblogic-10-3-6-tp4657025.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I'm really stuck on this one.
We've started getting the following exception when deploying to Weblogic:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'alertService': Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mailService': Initialization of bean failed; nested
exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mailMessageBuilderFactory': Initialization of bean failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mailMessageContentRenderer': Initialization of bean failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'groovyPagesTemplateEngine': Cannot resolve reference to bean
'gspTagLibraryLookup' while setting bean property 'tagLibraryLookup'; nested
exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'gspTagLibraryLookup': Invocation of init method failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'grails.plugin.springsecurity.SecurityTagLib': Initialization
of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'webInvocationPrivilegeEvaluator': Cannot resolve reference to
bean 'filterInvocationInterceptor' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'filterInvocationInterceptor': Invocation of init method
failed; nested exception is
java.lang.NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;
[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
I've tried removing the slf4j jar from my ear. I've also tried putting the
following in my weblogic-appliction.xml:
<prefer-application-packages>
<package-name>org.slf4j.*</package-name>
</prefer-application-packages>
<prefer-application-resources>
<resource-name>org/slf4j/impl/StaticLoggerBinder.class</resource-name>
</prefer-application-resources>
Nothing has worked thus far. Basically, I've tried all of the different
things that I've found online. Usually, when I have a conflict with a jar
that I'm providing myself and that Weblogic is also providing, just using
the prefer-application-packages does the trick.
I'm using Grails 2.3.6 with Weblogic 10.3.6.
--
View this message in context: http://grails.1312388.n4.nabble.com/Grails-SLF4J-issue-with-Weblogic-10-3-6-tp4657025.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email