RE: BeanUtils Class Cannot Be Found!

2004-09-14 Thread VAN BROECK Jimmy
This means that this library isn't on your classpath when your compiling your 
application. 
When you are compiling, the compiler isn't automagically including the WEB-INF/lib 
dir, because he doesn't know you are developping a webapp.

If you are using an ide try setting in your project options, the classpath/lib setting 
to this lib.

if your compiling commandline don't forget to specify the -classpath argument on the 
javac command or set your classpath environment variable.


Greets
Jimmy

-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: dinsdag 14 september 2004 15:14
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: BeanUtils Class Cannot Be Found!


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?
> > 
> > 
> > 
> > ___
> > Do you Yahoo!?
> > Declare Yourself - Register online to vote today!
> > http://vote.yahoo.com
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited. If 
you are not the intended recipient please contact the sender and delete all copies.

Ce Message est uniquement destiné aux destinataires indiqués et peut contenir des 
informations confidentielles. Si vous n'êtes pas le destinataire, vous ne devez pas 
révéler le contenu de ce message ou en prendre copie. Si vous avez reçu ce message par 
erreur, veuillez en informer l'expéditeur, ou La Poste immédiatement, avant de le 
supprimer.

Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan vertrouwelijke 
informatie bevatten. Als u niet de ontvanger bent, dan mag u de inhoud van dit bericht 
niet bekendmaken noch kopiëren. Als u dit bericht per vergissing heeft ontvangen, 
gelieve er de afzender of De Post onmiddellijk van op de hoogte te brengen en het 
bericht vervolgens te verwijderen.


Re: BeanUtils Class Cannot Be Found!

2004-09-14 Thread Caroline Jen
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]



Re: BeanUtils Class Cannot Be Found!

2004-09-14 Thread Bryce Fischer
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]


Re: BeanUtils Class Cannot Be Found!

2004-09-14 Thread Caroline Jen
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?
> > 
> > 
> > 
> > ___
> > Do you Yahoo!?
> > Declare Yourself - Register online to vote today!
> > http://vote.yahoo.com
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: BeanUtils Class Cannot Be Found!

2004-09-13 Thread Andrew Hill
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?

___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


BeanUtils Class Cannot Be Found!

2004-09-13 Thread Caroline Jen
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?



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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