1 Reply Latest reply: Aug 7, 2009 12:54 AM by 774775 RSS

    package does not exist

    774775
      hi guys,

      wanted to use JavaBeans, but my java code doesn't find the package.
      i have downloaded : commons-beanutils-1.8.0.zip (from jakarta web)

      i have placed this zip file (commons-beanutils-1.8.0) inside www/tomcat/lib/ , and also set the classpath to : c:/www/tomcat/lib/commons-beanutils-1.8.0;

      but still when i compile my xxxx.java file, i get an error saying :

      package org.apache.commons.beanutils does not exist
      import org.apache.commons.beanutils.*;


      any useful idea, will be appreciated ....


      Edited by: c_skyscraper on Aug 6, 2009 8:48 PM

      inside the zip file i have the folders : org/apache/commons/beanutils/xxxx folders and in my java code i have used the import statement as follow:
      import org.apache.commons.beanutils.*;

      Edited by: c_skyscraper on Aug 6, 2009 8:49 PM