Aws sdk

Hello!

I’m running into the issue below on application start,
Unable to resolve com.amazonaws.aws-java-sdk-osgi [68](R 68.0): missing requirement [com.amazonaws.aws-java-sdk-osgi

When calling any com.amazonaws.services I get the following error,
Could not initialize class com.amazonaws.partitions.PartitionsLoader

Has anyone successfully integrated AWS’s SDK with Lucee? I was able to successfully access the SDK with Adobe ColdFusion 2018 following this tutorial but would like to run the SDK on Lucee

I’ve got all five files, under {webroot}\WEB-INF\lucee\lib

  • aws-java-sdk-1.11.521.jar
  • jackson-annotations-2.6.0.jar
  • jackson-core-2.6.7.jar
  • jackson-databind-2.6.7.2.jar
  • joda-time-2.8.1.jar

Thank you for any help!

Did you ever figure this out?

No, I ended up using ColdFusion for the project. I’m wondering if the recent Lucee version would be able work. Are you experiencing the same issue?

Had a similar problem with Lucee and AWS’s SDK OSGI bundle. In Lucee admin > info > Bundle (jar), the bundle was listed but not in the “active” state.

Found this AWS SDK bundle that integrates with Lucee 5.3.3.62, it contains all the 3rd party dependencies relocated with new package names to prevent conflicts.

From AWS Developer Blog:

Bundle download from Maven Repository:
https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-bundle

1 Like