- Newest
- Most votes
- Most comments
The import errors you're experiencing with ProgramExecutionResult and StopRunUnitException in your AbendImpl class are due to missing dependencies in your project's pom.xml file.
To resolve these import errors, you need to add the following Blu Age runtime dependencies to your pom.xml:
<dependency> <groupId>com.netfective.bluage</groupId> <artifactId>gapwalk.runtime.legacy.statements</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.netfective.bluage</groupId> <artifactId>gapwalk-datasimplifier-io-bluesam</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.netfective.bluage</groupId> <artifactId>gapwalk-runtime-database-support</artifactId> <scope>provided</scope> </dependency>
A few important points to consider:
-
Make sure you're using the same version of AWS Blu Age for both generating the modernized code and executing it. Version mismatches can cause dependency issues.
-
If you're still experiencing issues after adding these dependencies, you may need to check your Maven settings to ensure they're correctly configured to access the necessary repositories for Blu Age dependencies.
-
After making these changes, clean and rebuild your project to ensure the dependencies are properly resolved.
Alternatively, it's worth noting that some workshop participants found that they didn't need to directly implement the Abend code in their refactor project. If you're following a specific workshop exercise, double-check the assignment instructions to ensure you're taking the correct approach.
Sources
AWS Blu Age L3 : Refactoring -Implement | AWS re:Post
Blu Age L3 Workshop Refactoring Java Project Setup | AWS re:Post
Maven dependency error when importing Blu Age L3 Workshop modernized code | AWS re:Post
Relevant content
asked 2 years ago
asked 2 years ago
- AWS OFFICIALUpdated 3 years ago

This solved the issue after importing Runtime Timebombed dependencies (https://catalog.us-east-1.prod.workshops.aws/workshops/bf71c0bc-6d8a-4d04-9c10-ab479f7f0e37/en-US/tools/bluage/runtime-timebombed) and using version 4.2.0.
New dependencies in pom.xml : <dependency> <groupId>com.netfective.bluage</groupId> <artifactId>gapwalk.runtime.legacy.statements</artifactId> <version>4.2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.netfective.bluage</groupId> <artifactId>gapwalk-datasimplifier-io-bluesam</artifactId> <version>4.2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.netfective.bluage</groupId> <artifactId>gapwalk-runtime-database-support</artifactId> <version>4.2.0</version> <scope>provided</scope> </dependency>