AnsweredAssumed Answered

Dependency issue in SDK 3.0

Question asked by hiten.rastogi on Apr 5, 2017
Latest reply on May 18, 2017 by krutik.jayswal

Hi,

 

After the release of SDK 3.0 I am trying to port my code to the new SDK in which I am facing dependency issue. While running the code I am getting the following exception. The full stacktrace can be found here .

 

cannot access org.springframework.context.ApplicationContextAware  class file for org.springframework.context.ApplicationContextAware not found

 

Though I managed to resolve the issue by commenting out the <scope>test</scope> from the  spring-context dependency or by stating the spring-context dependency in the platform-jar project like below

 

<dependencies>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
    </dependency>
</dependencies>

 

but I still want to know why I am getting the exception.

 

Thanks

Hiten Rastogi

Outcomes