java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent

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

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

,
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 Pentaho BI Platform Tracking by Rowell Belen, 1 year ago
org/apache/batik/bridge/UserAgent
via Pentaho BI Platform Tracking by Rowell Belen, 1 year ago
org/apache/batik/bridge/UserAgent
via Google Groups by Ian Boston (JIRA), 4 months ago
org/apache/jackrabbit/rmi/server/RemoteAdapterFactory
via Google Groups by Ian Boston (JIRA), 4 months ago
org/apache/jackrabbit/rmi/server/RemoteAdapterFactory
via Icesoft by mohanp, 4 months ago
org/json/JSONException
via Google Groups by Torsten Schneider, 1 month ago
java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431)
at org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.WrapperSVGDrawableFactoryModule.(WrapperSVGDrawableFactoryModule.java:35)
at sun.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431)
at org.pentaho.reporting.libraries.resourceloader.factory.AbstractResourceFactory.initializeDefaults(AbstractResourceFactory.java:162)
at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.registerDefaultFactories(DefaultResourceManagerBackend.java:436)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaultFactories(ResourceManager.java:541)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaults(ResourceManager.java:532)
at org.pentaho.reporting.engine.classic.core.AbstractDataFactory.(AbstractDataFactory.java:38)
at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.(SimplePmdDataFactory.java:103)
at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.(PmdDataFactory.java:44)
at com.pentaho.test.iadhoc.service.util.DataFactoryConverterTest.testConvertPmdDataFactory(DataFactoryConverterTest.java:130)
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 junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1232 more bugmates

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