- Newest
- Most votes
- Most comments
The errors you're encountering during the "Execute all tests cases" phase of the AWS Blu Age Level 3 Self-Paced Troubleshooting Workshop appear to be related to class loading and dependency issues. Here are some suggestions to address these problems:
-
For Error #1 (catalina.log): The error suggests a problem with the deployment of the carddemo-service-1.0.0 web application. The context failed to start due to listener issues. This could be caused by missing dependencies or incompatible library versions.
-
For Error #2 (localhost.log): The ClassNotFoundException for ch.qos.logback.classic.selector.servlet.ContextDetachingSCL indicates that the Logback library is missing from your classpath or there's a version mismatch.
To resolve these issues:
-
Ensure all required dependencies are present in the WEB-INF/lib directory of your carddemo-service-1.0.0.war file. Pay special attention to the Logback library.
-
Check for version compatibility between your application's dependencies and the Tomcat version you're using (10.0.18).
-
Review the carddemo-service-1.0.0 web application's configuration, particularly the web.xml file, to make sure all specified listeners and their dependencies are available.
-
If you're using Maven or Gradle for dependency management, verify that all necessary dependencies are correctly declared in your project's build file.
-
Try clearing Tomcat's work directory to ensure no stale compiled classes are interfering with the deployment.
-
If the issue persists, you may need to downgrade Tomcat to an earlier version that's known to be compatible with your application and its dependencies.
If these steps don't resolve the issue, you may need to review the full Tomcat logs for more detailed error messages or consult the AWS Blu Age documentation for specific troubleshooting steps related to this workshop.
Sources
AWS Blu Age Level 3 Self-Paced Troubleshooting Workshop - Codebase transformation - Transform Error | AWS re:Post
After rechecking the settings and script configurations, I found incorrect modifications in both the common.loader and Groovy script settings. I haven't been able to determine whether Error #2 was caused by common.loader alone, or whether Error #1 was caused by either Groovy alone or a combination of both Groovy and common.loader issues. I'm letting you know that the issue has been resolved for now.
answered a year ago

I am getting the same error/issue. Can you please help elaborate the resolution steps.