[rules-users] Error occured when replacing commons-lang2.4 with commons-lang3-3.1 in Guvnor 5.4.0 Final

Michael Anstis michael.anstis at gmail.com
Wed Jul 11 07:25:45 EDT 2012


The class required by Guvnor, org.apache.commons.lang.StringUtils, doesn't
exist in 3-3.1.

It has been renamed org.apache.commons.lang3.StringUtils in 3-3.1.

On 11 July 2012 12:15, chrisLi <shengtao0077 at 163.com> wrote:

>  Hi, All
>
>   I am using Guvnor 5.4.0 Final with Tomcat 6.0.35. And I wanted to replace
> commons-lang2.4 with commons-
>
> lang3-3.1, so I overwrote the commons-lang2.4 jar file in Guvnor's
> WEB-INF/lib directory with commons-
>
> lang3-3.1.jar. However an error like follows occured:
>
> Service method 'public abstract long
>
> org.drools.guvnor.client.rpc.AssetService.getAssetCount(org.drools.guvnor.client.rpc.AssetPageRequest)
> throws com.google.gwt.user.client.rpc.SerializationException' threw an
> unexpected exception: java.lang.NoClassDefFoundError:
> org/apache/commons/lang/StringUtils org/apache/commons/lang/StringUtils
>
> I have restarted Guvnor.
>
> Any suggestion will be appreciated, thank you very much.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Error-occured-when-replacing-commons-lang2-4-with-commons-lang3-3-1-in-Guvnor-5-4-0-Final-tp4018584.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120711/443911a1/attachment.html 


More information about the rules-users mailing list