helloclient.java:14: cannot find symbol symbol : class hello location: class helloclient hello bean1=(hello)factory.getBean("hello1"); ^ helloclient.java:14: cannot find symbol symbol : class hello location: class helloclient hello bean1=(hello)factory.getBean("hello1"); ^ 2 errors
I tried export CLASSPATH=$CLASSPATH:/home/user/Desktop/springdemo but still not able to compile without above (-cp) method. Please help me on Ubuntu. This is for 1st example