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

Share part no longer compiles/runs on Alfresco 5 #8

Open
Gagravarr opened this issue Apr 28, 2016 · 0 comments
Open

Share part no longer compiles/runs on Alfresco 5 #8

Gagravarr opened this issue Apr 28, 2016 · 0 comments
Assignees

Comments

@Gagravarr
Copy link

If you build from head and deploy onto Alfresco 5, then on hitting something like http://localhost:8081/share/service/extras/oauth/auth2-return/alfresco?code=1&endpointId=1 it will fail with

java.lang.NoSuchMethodError - org.springframework.extensions.webscripts.connector.SimpleCredentialVault.<init>(Ljava/lang/String;)V

    org.sharextras.webscripts.connector.OAuth2CredentialVault.<init>(OAuth2CredentialVault.java:52)

If you change share-oauth/pom.xml to depend on:

        <dependency>
            <groupId>org.alfresco</groupId>
            <artifactId>share</artifactId>
            <version>5.0.d</version>
            <classifier>classes</classifier>
        </dependency>

Then the module fails to compile. From a quick look, the connector.*Credential* classes seem to have changed quite a bit in 5

@wabson wabson self-assigned this Apr 29, 2016
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