java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils

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.

,

you can change your scala version to 2.11.11

Solutions on the web

via JIRA by René Krell [Administrator], 1 year ago
org/apache/commons/io/IOUtils
via Google Groups by Armin M, 1 year ago
org/apache/commons/io/IOUtils
java.lang.ClassNotFoundException: org.apache.commons.io.IOUtils
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.izforge.izpack.core.resource.AbstractResources.getObject(AbstractResources.java:193)
at com.izforge.izpack.core.resource.DefaultLocales.getSupportedLocales(DefaultLocales.java:439)
at com.izforge.izpack.core.resource.DefaultLocales.(DefaultLocales.java:117)
at com.izforge.izpack.core.resource.DefaultLocales.(DefaultLocales.java:103)
at com.izforge.izpack.installer.container.provider.LocalesProvider.provide(LocalesProvider.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:141)
at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:37)
at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:125)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:272)
at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:132)
at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:692)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:105)
at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:75)
at org.picocontainer.injectors.SingleMemberInjector.getMemberArguments(SingleMemberInjector.java:60)
at org.picocontainer.injectors.MethodInjector.getMemberArguments(MethodInjector.java:112)
at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:124)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:272)
at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:132)
at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:692)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:671)
at com.izforge.izpack.installer.container.impl.InstallerContainer.resolveComponents(InstallerContainer.java:139)
at com.izforge.izpack.installer.container.impl.GUIInstallerContainer.resolveComponents(GUIInstallerContainer.java:94)
at com.izforge.izpack.installer.container.impl.InstallerContainer.fillContainer(InstallerContainer.java:80)
at com.izforge.izpack.core.container.AbstractContainer.initialise(AbstractContainer.java:304)
at com.izforge.izpack.core.container.AbstractContainer.initialise(AbstractContainer.java:284)
at com.izforge.izpack.installer.container.impl.GUIInstallerContainer.(GUIInstallerContainer.java:44)
at com.izforge.izpack.installer.bootstrap.InstallerGui.run(InstallerGui.java:48)
at com.izforge.izpack.installer.bootstrap.Installer.launchInstall(Installer.java:216)
at com.izforge.izpack.installer.bootstrap.Installer.start(Installer.java:192)
at com.izforge.izpack.installer.bootstrap.Installer.main(Installer.java:71)

Users with the same issue

Once, 2 days ago
Once, 3 days ago
2 times, 6 days ago
Once, 6 days ago
Once, 6 days ago

Write tip

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