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

Compile Error #8

Closed
tsweets opened this issue Jan 26, 2015 · 3 comments
Closed

Compile Error #8

tsweets opened this issue Jan 26, 2015 · 3 comments

Comments

@tsweets
Copy link

tsweets commented Jan 26, 2015

I get this error when trying to compile the samples.
You probably forgot to check something into github
Happens with maven and gradle.

[ERROR] /home/tsweets/projects/spring-restdocs/rest-notes-spring-data-rest/src/test/java/com/example/notes/ApiDocumentation.java:[98,81] incompatible types: org.springframework.restdocs.core.LinkDescriptor cannot be converted to org.springframework.restdocs.core.LinkExtractor

Environment
Arch Linux
Oracle Java 1.8

@wilkinsona
Copy link
Member

It works fine for me and, more importantly, on the CI server. It looks like you're trying to compile against and older snapshot that doesn't contain this commit.

@tsweets
Copy link
Author

tsweets commented Jan 26, 2015

Doesn't look like the repo has the latest code
https://repo.spring.io/snapshot/org/springframework/restdocs/spring-restdocs-core/0.1.0.BUILD-SNAPSHOT/

Last version is from 1/8 which is before your commit.
That's why the compile is failing on my side, its grabbing an older restdocs-core.

--Tony

@wilkinsona
Copy link
Member

Looks like Artifactory's in a mess. The new code was there, but it's failing to increment the snapshot properly as part of the deploy so the old code's preferred over the new. I've deleted the snapshots and associated Maven metadata in the hope that a clean slate will sort things out.

wilkinsona pushed a commit that referenced this issue Jun 25, 2015
Fix "rm -rf" instruictions
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