Hello,
I am using spring framework v1.2.3 and I am trying to use XMLBeanFactory to create a simple bean. I includes the following jar files in my classpath: spring.jar, commons-logging.jar.But I got the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/SAXExcept
ion
at org.springframework.beans.factory.xml.XmlBeanFacto ry.<init>(XmlBeanFa
ctory.java:47)
at org.springframework.beans.factory.xml.XmlBeanFacto ry.<init>(XmlBeanFa
ctory.java:56)
Please advise how to solve this problem. Thanks a lot.


Reply With Quote