Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failed. Getting class file has wrong version error. #24

Open
samshaikh87 opened this issue Aug 27, 2020 · 0 comments
Open

Build Failed. Getting class file has wrong version error. #24

samshaikh87 opened this issue Aug 27, 2020 · 0 comments

Comments

@samshaikh87
Copy link

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project readyapi-postman-plugin: Compilation failure
[ERROR] ../src/main/java/com/smartbear/postman/script/AddEqualsAssertionCommand.java:[19,42] cannot access com.eviware.soapui.model.testsuite.Assertable
[ERROR] bad class file: ...m2\repository\com\smartbear\ready-api-soapui\3.3.2\ready-api-soapui-3.3.2.jar(com/eviware/soapui/model/testsuite/Assertable.class)
[ERROR] class file has wrong version 55.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.

Both java and javac version are same...

javac -version
javac 1.8.0_261

java -version
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

Please check your java file is compiling correctly and also revert the java version to be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant