Logback Error during startup after upgrading to Neo4J 1.8.M02

94 views
Skip to first unread message

kiteflo

unread,
May 21, 2012, 10:22:59 AM5/21/12
to Neo4j
Hi,

we just upgraded to Neo 1.8.M02, it seems there are Logback
dependencies which need to be resolved as by now we are receiving the
exception attached below.

Can u just post which logback repository and which version need to be
tied in? In general: is there any documentation the new dependencies
are tracked as by now we always need to go for "jar-hunting" after
upgrades...

Thanx, Florian;

WARNUNG: Unable to load class
[ch.qos.logback.access.tomcat.LogbackValve] to check against the
@HandlesTypes annotation of one or more ServletContentInitializers.
java.lang.VerifyError: class ch.qos.logback.access.tomcat.LogbackValve
overrides final method start.()V
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
141)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
2823)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
1160)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1655)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1533)
at
org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:
1988)
at
org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:
1951)
at
org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:
1840)
at
org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:
1808)
at
org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:
1794)
at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:
1214)
at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:
828)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
302)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:
90)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:
5148)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:
150)
at org.apache.catalina.core.ContainerBase
$StartChild.call(ContainerBase.java:1525)
at org.apache.catalina.core.ContainerBase
$StartChild.call(ContainerBase.java:1515)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

kiteflo

unread,
May 22, 2012, 7:56:35 AM5/22/12
to Neo4j
Hi,

we fixed this one adding the LogBack dependencies to our pom:

<!-- Log Back (required for neo4j 1.8) -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.0.3</version>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
<version>1.0.3</version>
</dependency>

But there is another issue poping up during startup right now, can any
of the neo crakcs take a look at this one and give us a quick hint?

Thanx, Florian...

Caused by: java.lang.NoSuchMethodError:
org.neo4j.kernel.impl.transaction.SpringTransactionManager.<init>(Lorg/
neo4j/graphdb/GraphDatabaseService;)V
at
org.springframework.data.neo4j.config.Neo4jConfiguration.createJtaTransactionManager(Neo4jConfiguration.java:
245)
at
org.springframework.data.neo4j.config.Neo4jConfiguration.neo4jTransactionManager(Neo4jConfiguration.java:
232)
at org.springframework.data.neo4j.config.Neo4jConfiguration$
$EnhancerByCGLIB$$7d3d8fee.CGLIB$neo4jTransactionManager
$24(<generated>)
at org.springframework.data.neo4j.config.Neo4jConfiguration$
$EnhancerByCGLIB$$7d3d8fee$$FastClassByCGLIB$
$fc64475b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at org.springframework.context.annotation.ConfigurationClassEnhancer
$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:280)
at org.springframework.data.neo4j.config.Neo4jConfiguration$
$EnhancerByCGLIB$$7d3d8fee.neo4jTransactionManager(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:
149)
... 82 more

Peter Neubauer

unread,
May 22, 2012, 1:09:42 PM5/22/12
to ne...@googlegroups.com

This looks like a version mismatch to me somewhere. Michael is back on Thursday and take a look i think. Do you have the output of

mvn dependency:tree

?

Send from mobile.

Reply all
Reply to author
Forward
0 new messages