I found the bugger.

The mvn dependency:tree didnt point to an earlier version of the same jar.
So I figured it had to be included in one of the jar that are compiled for
scope test.

Finally, going through my repository I found the culprit.

                <dependency>
                        <groupId>org.liquibase</groupId>
                        <artifactId>liquibase-core</artifactId>
                        <version>1.8.1</version>
                        <type>jar</type>
                        <scope>test</scope>
                </dependency>

It had class files from the opencsv included.

Thanks Matt




mraible wrote:
> 
> Run mvn dependency:tree and look at the output (or grep for opencsv).  
> There's a good chance you have two different versions of the same JAR  
> in your classpath. Once you find the offender, exclude it from its  
> dependency.
> 
> Matt
> 

-- 
View this message in context: 
http://old.nabble.com/java.lang.NoSuchMethodError-tp26220807s2369p26222347.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to