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

2012-07-11 Thread chrisLi
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

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

2012-07-11 Thread Michael Anstis
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 shengtao0...@163.com wrote: Hi, All I am using Guvnor 5.4.0 Final with Tomcat 6.0.35. And I wanted

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

2012-07-11 Thread chrisLi
oops!I have not noticed this change. 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-tp4018584p4018586.html Sent from the Drools: User forum mailing list archive at

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

2012-07-11 Thread Geoffrey De Smet
commons-lang 3 isn't backwards compatible with commons-lang 2 (hence the major version number change). But if they namespaced all the lang 3 work under lang3 (and also namespaces the maven GAV), then both a 2 and 3 jar can be in the classpath together. Not sure if that's the case though... Op

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

2012-07-11 Thread chrisLi
Hi manstis, I have another question. I have created a model jar in Guvnor. And the classes in this jar have references to other classes out of this jar. But I do not wanted to create another model jar to contain the refered classes. So I packaged them into a jar file and put it into the