Okay, I see what the problem is now.  Thanks.
--- Bryce Fischer <[EMAIL PROTECTED]> wrote:

> How are you compiling? Command line? IDE? Eclipse?
> When compiling, the 
> jar file needs to be in your classpath. just putting
> it in lib directory 
> works for Tomcat when executing, but doesn't
> automatically put it in 
> your classpath.
> 
> 
> Caroline Jen wrote:
> 
> >The error occurred at the compilation time:
> >
> >SendMessage.java:17: 
> >package org.apache.commons.beanutils does not
> exist.
> >
> >The java code on line 17 is:
> >import org.apache.commons.beanutils.BeanUtils;
> >
> >and the commons-beanutils.jar is in the
>
>c:\jakarta-tomcat-5.0.27\webapps\AppName\WEB-INF\lib
> >directory.
> >
> >
> >
> >--- Andrew Hill <[EMAIL PROTECTED]>
> >wrote:
> >
> >  
> >
> >>The error is run-time or compile-time?
> >>
> >>
> >>Caroline Jen wrote:
> >>
> >>    
> >>
> >>>I have the commons-beanutils.jar file in my
> >>>AppName\WEB-INF\lib directory.  And I have this
> >>>statement:
> >>>
> >>>import org.apache.commons.beanutils.BeanUtils;
> >>>
> >>>in my .java class.
> >>>
> >>>Why do I get the error message that the BeanUtils
> >>>class cannot be found
> >>>
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to