here is the classpath:
C:\>set classpath=.;C:\;D:\;
C:\SpringFramework-2.0\dist\spring.jar;
C:\spring-framework-2.0\lib\jakarta-commons\commons-logging.jar;
C:\com\springinaction\chapter01\hello\
here is the compilation command
C:\>javac com\springinaction\chapter01\hello\HelloApp.java
here is the result - can't find the XmlBeanFactory
com\springinaction\chapter01\hello\HelloApp.java:1 1: cannot find symbol
symbol : constructor XmlBeanFactory(java.io.FileInputStream)
location: class org.springframework.beans.factory.xml.XmlBeanFacto ry
BeanFactory factory = new XmlBeanFactory(new FileInputStream("hello.xml"));
^
1 error
C:\>
Anyone have an idea what is wrong?
Thanks,
Bill


Reply With Quote