Hi, Willem.

  It seems there might be a different version of common codec in the class
patch. In our QA server, there are many different projects installed and
they share the same JVM\Classpath so it seems there may be another maven
project is currently using a lower version of commons codec jar. So when my
class is running and trying to call base64 jar, maven may refer to the
nearest commons codec which is the lower version. I wonder if I can fix this
jar issue in my class with maven/pom. I am not able to change other
projects' dependency as they are managed by developers and I do not want to
change or impact their commons codec jar as their projects may have to use a
lower version. So how can I change my class or maven so that my class will
use the particular higer version of commons codec while my code is running
base64 marshal.

Again thanks for the help!

谢谢大神!


My POM: 
                <dependency>
                    <groupId>org.apache.camel</groupId>
                    <artifactId>camel-base64</artifactId>
                    <version>${camel-version}</version>
                </dependency>

Bean: 

         <bean id="base64"
class="org.apache.camel.model.dataformat.Base64DataFormat">
    </bean>
 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Apache-Camel-Base64-Encoding-Issue-java-lang-NoSuchMethodError-tp5762074p5762126.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to