commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kovariadam <kovaria...@gmail.com>
Subject java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils: method leftPad(Ljava/lang/String;IC)Ljava/lang/String; not found
Date Wed, 15 Apr 2009 16:50:05 GMT

Hello,
I'm use Apache Commons Lang 2.4, but i get this strange exception:


java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils: method
leftPad(Ljava/lang/String;IC)Ljava/lang/String; not found
[15.4.2009 18:41:12:192 CEST] 00000046 SystemErr     R 	at
org.apache.commons.lang.time.DurationFormatUtils.format(DurationFormatUtils.java:446)
[15.4.2009 18:41:12:192 CEST] 00000046 SystemErr     R 	at
org.apache.commons.lang.time.DurationFormatUtils.formatDuration(DurationFormatUtils.java:157)
[15.4.2009 18:41:12:192 CEST] 00000046 SystemErr     R 	at
org.apache.commons.lang.time.DurationFormatUtils.formatDuration(DurationFormatUtils.java:111)


It's strange because that method is actually available in
org.apache.commons.lang.StringUtils.class.

What could be the problem?

Thanks
-- 
View this message in context: http://www.nabble.com/java.lang.NoSuchMethodError%3A-org.apache.commons.lang.StringUtils%3A-method-leftPad%28Ljava-lang-String-IC%29Ljava-lang-String--not-found-tp23062690p23062690.html
Sent from the Commons - Issues mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message