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

java.nio.file.Path cannot be resolved #74

Closed
fgreg opened this issue May 1, 2015 · 2 comments
Closed

java.nio.file.Path cannot be resolved #74

fgreg opened this issue May 1, 2015 · 2 comments

Comments

@fgreg
Copy link

fgreg commented May 1, 2015

Cloning this repository and importing into STS results in a compilation error:

The type java.nio.file.Path cannot be resolved. It is indirectly referenced from required .class files

@fgreg
Copy link
Author

fgreg commented May 1, 2015

spring-petclinic/src/test/java/org/springframework/samples/petclinic/service/AbstractClinicServiceTests.java line 1

Narrowed this down to the AssertJ library.

AssertJ 2.0 requires Java 7. Currently this project is configured to use Java 6.

Changing the assertj.version to 1.7.1 resolves this error.

@michaelisvy
Copy link

Hi,
we have moved to Java 8 and assertJ 3.0. It's good in my environment. Please let me know in case you still have an 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

2 participants