UndisclosedCurtain
UndisclosedCurtain

Reputation: 173

Using Cypress.io to test React in a Maven project

I'm currently working on a project and want to use Cypress to write tests for my app that is being made in React. It seems however that Maven is acting up, and after a lot of Google-Fu I got stuck. It seems I'm missing parts of a module, but I was unable to find what kind.Here is an image of said failure.

What am I missing? Thanks in advance.

Upvotes: 1

Views: 989

Answers (1)

miskender
miskender

Reputation: 7968

Missing package maven compiler plugin reports is inside mozilla rhino jar. Try adding following dependency in to your pom.xml

<dependency>
    <groupId>org.mozilla</groupId>
    <artifactId>rhino</artifactId>
    <version>1.7.8</version>
</dependency>

Upvotes: 1

Related Questions