commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matthew.hawthorne" <ma...@apache.org>
Subject Re: Error when using commons ReflectionToStringBuilder
Date Fri, 12 Mar 2004 20:22:39 GMT
White, Joshua A (HTSC, CASD) wrote:
   > I receive the following error:
>  
> java.lang.NoSuchMethodError:
> org.apache.commons.lang.builder.ToStringBuilder.getObject()Ljava/lang/Object
> ;
>  at
> org.apache.commons.lang.builder.ReflectionToStringBuilder.toString(Reflectio
> nToStringBuilder.java:515)
>  at
> org.apache.commons.lang.builder.ReflectionToStringBuilder.toString(Reflectio
> nToStringBuilder.java:265)
>  at
> org.apache.commons.lang.builder.ReflectionToStringBuilder.toString(Reflectio
> nToStringBuilder.java:171)
>  at donotcall.TestObject.toString(TestObject.java:17)
>  at donotcall.TestIt.main(TestIt.java:20)
> Exception in thread "main" Process terminated with exit code 1
>  
> Am I calling this correctly?


This is definitely a question for the user list, not the dev list.

Are you sure that you have only 1 version of [lang] in your classpath? 
This looks like a versioning issue maybe?

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message