Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude old SLF4J API dependency from JCR that causes errors on spring context initialization. #35

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

jpuerto
Copy link

@jpuerto jpuerto commented Nov 26, 2022

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'javax.jcr.Repository': Initialization of bean failed; nested exception is java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
	at org.apache.cocoon.jcr.source.JCRSourceTestCase.setUp(JCRSourceTestCase.java:76)
Caused by: java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
	at org.apache.cocoon.jcr.source.JCRSourceTestCase.setUp(JCRSourceTestCase.java:76)

@tcurdt
Copy link
Contributor

tcurdt commented Nov 26, 2022

Odd. But if that makes it work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants