java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/validation/Validation
问题 Using maven to add activemq, there is a problem about conflicting jar when I unit-test in IDE, the exception message is: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/validation/Validation i have excluded the validation from javaee, as following: <dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifactId> <version>6.0</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>javax.validation</groupId>