alexruiz / fest-assert-2.x

FEST Fluent Assertions 2.x
http://fest.easytesting.org
Apache License 2.0
402 stars 69 forks source link

Bad version number in .class file #134

Closed mmatloka closed 11 years ago

mmatloka commented 11 years ago

With fest assert 1.4 my code compiles and runs tests properly. With 2.0M8, when using assertThat in unit test I get error like: Bad version number in .class file

joel-costigliola commented 11 years ago

Since 2.0M8 Fest is built for java 6, what runtime version of java are you using ? Please try to upgrade to java 6 to see if it solves the problem.

If you want to use java 5, consider using 2.0M7 version or earlier, it should work.

Hope it helps

mmatloka commented 11 years ago

That's the problem, we build our library for compatibility with java 5.