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

import net.serenitybdd.screenplay.ensure.Ensure; is not working even though serenity-ensure dependency has been added to pom #3325

Closed
ravibabu1408 opened this issue Nov 11, 2023 · 5 comments

Comments

@ravibabu1408
Copy link

ravibabu1408 commented Nov 11, 2023

import net.serenitybdd.screenplay.ensure.Ensure; is not working and observed that Ensure.class is empty. Looks like IDE is not loading all classes from net.serenitybdd.screenplay.ensure. Please suggest me how can i load all classed from serenity-ensure.

version: 3.1.0
When Ensure class file is oppened from net.serenitybdd.screenplay.ensure below message is displayed instead class detaisl.#
This class file was compiled with different version of Kotlin compiler and can't be decompiled.
//
// Current compiler ABI version is 1.1.16
// File ABI version is 1.6.0

image

image

@wakaleo
Copy link
Member

wakaleo commented Nov 11, 2023

Could be an IDE or maven repo issue. The ensure library is written in Kotlin so may not decompile to Java like other classes. I don't think this is a Serenity issue.

@wakaleo
Copy link
Member

wakaleo commented Dec 11, 2023

Closing as not related to Serenity. This is due to an IntelliJ caching issue.

@wakaleo wakaleo closed this as completed Dec 11, 2023
@SchenkBLS
Copy link

@ravibabu1408 How did you solved this? Finger crossed, you did solved it in any way.

@AdriORT
Copy link

AdriORT commented May 7, 2024

I have the same problem :(

@wakaleo
Copy link
Member

wakaleo commented May 7, 2024

Make sure you are using the latest version of IntelliJ - this is related to an IDE issue.

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

4 participants