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

Failed to compile maven project. Missing org.hamcrest.Matchers. #322

Closed
rubenlop88 opened this issue Dec 18, 2018 · 1 comment
Closed

Failed to compile maven project. Missing org.hamcrest.Matchers. #322

rubenlop88 opened this issue Dec 18, 2018 · 1 comment

Comments

@rubenlop88
Copy link

rubenlop88 commented Dec 18, 2018

Fb-contrib version: 7.4.4.sb

I cloned the project and tried to compile it with maven. I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile (default-testCompile) on project fb-contrib: Compilation failure: Compilation failure:
[ERROR] /Users/rlopez/Desktop/fb-contrib/src/samples/java/ex/SAT_Sample.java:[4,20] cannot find symbol
[ERROR] symbol:   class Matchers
[ERROR] location: package org.hamcrest
[ERROR] /Users/rlopez/Desktop/fb-contrib/src/samples/java/ex/SAT_Sample.java:[9,22] cannot find symbol
[ERROR] symbol:   variable Matchers
[ERROR] location: class ex.SAT_Sample
[ERROR] /Users/rlopez/Desktop/fb-contrib/src/samples/java/ex/SAT_Sample.java:[9,47] cannot find symbol
[ERROR] symbol:   variable Matchers
[ERROR] location: class ex.SAT_Sample

This dependency seems to be missing:

        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-library</artifactId>
            <version>1.3</version>
            <scope>test</scope>
        </dependency>
@mebigfatguy
Copy link
Owner

thanks for the report. fixed.

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

2 participants