org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'poolConfig' defined in class path resource [app.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: net.sourceforge.cobertura.coveragedata.TouchCollector

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

,
Expert tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Solutions on the web

via GitHub by wwwzys
, 1 year ago
Error creating bean with name 'poolConfig' defined in class path resource [app.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: net.sourceforge.cobertura.coveragedata.TouchCollector
via mqseries.net by Unknown author, 2 years ago
Error creating bean with name 'jmsConnectionFactory' defined in class path resource [mq.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ibm.mq.jms.MQQueueConnectionFactory]: Constructor threw exception; nested exception is java.lang.NullPointerException
via Stack Overflow by Peng
, 1 year ago
Error creating bean with name 'dataSource' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/mchange/v2/ser/Indirector
via Stack Overflow by haju
, 2 years ago
Error creating bean with name 'org.springframework.jms.listener.endpoint.JmsMessageEndpointManager#0' defined in class path resource [context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/resource/ResourceException
via Stack Overflow by Mercenary
, 1 year ago
Error creating bean with name 'user' defined in class path resource [spring.xml]: Instantiation of bean failed; nested exception is java.lang.IllegalStateException: No bean class specified on bean definition
via wordpress.com by Unknown author, 1 year ago
Error creating bean with name ‘HelloSpring’ defined in class path resource [beans.xml]: Instantiation of bean failed; nested exception is java.lang.IllegalStateException: No bean class specified on bean definition
java.lang.ClassNotFoundException: net.sourceforge.cobertura.coveragedata.TouchCollector
at java.net.URLClassLoader.findClass(URLClassLoader.java:606)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:792)
at java.lang.ClassLoader.loadClass(ClassLoader.java:766)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:747)

Users with the same issue

2 times, 18 hours ago
2 times, 1 day ago
29 times, 1 day ago
Once, 1 day ago
Once, 1 day ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.