Skip to content

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

Open
@Gagravarr

Description

@Gagravarr

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions