Expand my Community achievements bar.

SOLVED

DataSourcePool in Java

Avatar

Community Advisor

Hi,

I am using AEM 6.1 and I want to get the DataSourcePool reference. I am using the below dependency:

<dependency>
            <groupId>com.day.commons</groupId>
            <artifactId>day.commons.datasource.poolservice</artifactId>
            <version>1.0.10</version>
            <scope>provided</scope>
        </dependency>

But still, it is not able to find this DataSourcePool. Can anyone please help me on this?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

We have this documented:

https://helpx.adobe.com/experience-manager/using/datasourcepool.html

I just built too successfully: 

Did you read this community article? 

View solution in original post

6 Replies

Avatar

Correct answer by
Level 10

We have this documented:

https://helpx.adobe.com/experience-manager/using/datasourcepool.html

I just built too successfully: 

Did you read this community article? 

Avatar

Community Advisor

smacdonald2008 wrote...

We have this documented:

https://helpx.adobe.com/experience-manager/using/datasourcepool.html

I just built too successfully: 

Did you read this community article? 

 

Yeah I've seen this and modified my POM file. But still it is not able to resolve that dependency.

Avatar

Level 10

WHy not use the Dependencies in the article? They built fine for me. 

Avatar

Level 10

Also - you can try using the Uber dependency: 

<dependency>

 

    <groupId>com.adobe.aem</groupId>

    <artifactId>uber-jar</artifactId>

    <version>6.1.0</version>

    <classifier>obfuscated-apis</classifier>

    <scope>provided</scope>

</dependency>

Avatar

Community Advisor

Thanks for your reply. I tried all these but no luck.

Avatar

Level 10

We need to setup a connect session. There is something in your environment that is preventing this from working. email me scottm@adobe.com and we will book a call with connect.