Home  >  Forum  >  Spring
Post New Query

Caused by: java.lang.ClassNotFoundException:

joined on
March 14,2013
Asked on April 22,2013
Hi ,
I am new to spring and running a spring program. But the error , any suggestion.

Caused by: java.lang.ClassNotFoundException:
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
    at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
    ... 9 more

joined on
April 07,2013
Replied on April 22,2013

I am also facing the same issue.
joined on
March 18,2013
Replied on April 22,2013

There can be two thing.

1. The bean you have configured in XML, does not exist,
2. or you have misspelled the bean name.

Check and you bean name and package, whether it exist.

I hope it will solve you problem.

Write Answer

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us