Skip to content

AWS Blu Age Workshop : Execution backend ClassNotFoundException

0

After completeing all the configuration steps here : https://catalog.us-east-1.prod.workshops.aws/workshops/bf71c0bc-6d8a-4d04-9c10-ab479f7f0e37/en-US/execution/backend I tried to start server but i git thid error : 2025-03-07T11:13:06.503Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Using default value for SYSNAME (SYSNAME) 2025-03-07T11:13:06.503Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Using default Jics XA Agent timeout (60) 2025-03-07T11:13:06.512Z INFO 5736 --- [ main] c.n.b.g.rt.jobqueue.JobQueueProvider : JobQueueManager set to: com.netfective.bluage.gapwalk.rt.jobqueue.JobQueueManager$$SpringCGLIB$$0 2025-03-07T11:13:06.535Z INFO 5736 --- [ main] c.n.b.gapwalk.rt.jics.memory.CWAHolder : No CWA defined 2025-03-07T11:13:06.539Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Setting code point shift for handling legacy database control characters to :[384] 2025-03-07T11:13:06.543Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Setting reports folder to :[reports] 2025-03-07T11:13:06.546Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : The report name timestamp format is set to :[yyyyMMddHHmmss] 2025-03-07T11:13:06.546Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Setting Decimal Format (QDECFMT) system value to :[] 2025-03-07T11:13:06.552Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Jics schema creation ignored. 2025-03-07T11:13:06.552Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Jics datastore load ignored. 2025-03-07T11:13:06.577Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : No JICS list to activate 2025-03-07T11:13:06.697Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : Added 2 Jics File AIX details. 2025-03-07T11:13:06.702Z INFO 5736 --- [ main] .i.s.PathMatchingResourcePatternResolver : Skipping search for files matching pattern [**/*.properties]: directory [D:\PhotonUser\Workshop\working-directory\config\msgFileLib] does not exist 2025-03-07T11:13:06.707Z INFO 5736 --- [ main] c.n.b.g.a.ApplicationInitializer : No JILDB backend. 2025-03-07T11:13:06.904Z INFO 5736 --- [ main] o.a.c.c.C.[.[.[/carddemo-service] : No Spring WebApplicationInitializer types detected on classpath 2025-03-07T11:13:06.911Z ERROR 5736 --- [ main] o.a.c.c.C.[.[.[/carddemo-service] : Exception starting filter [ValidationFilter]

java.lang.ClassNotFoundException: aws.bluage.l3.workshop.servlet.ValidationFilter at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1444) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1252) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:535) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:516) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:252) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4562) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5205)

1 Answer
0

The error you're encountering is a ClassNotFoundException for the ValidationFilter class. This suggests that the required class file is missing from your application's classpath.

To resolve this issue, try the following steps:

  1. Verify that the ValidationFilter class is present in your project's source code under the correct package (aws.bluage.l3.workshop.servlet).

  2. Ensure that the class has been compiled and is included in your application's WAR file or classpath.

  3. Check your project's build configuration to make sure all necessary dependencies are included and that the ValidationFilter class is being properly packaged with your application.

  4. Review your web.xml file or any Java-based configuration classes to confirm that the filter is correctly declared and mapped.

  5. If you're using Maven or Gradle, try cleaning and rebuilding your project to ensure all dependencies are properly downloaded and included.

  6. Verify that your Tomcat server configuration is correct and that it's pointing to the right application directory.

  7. Double-check that you've followed all the configuration steps in the workshop guide correctly, as there might be a step you've missed that's causing this class to be unavailable.

If the issue persists after trying these steps, you may need to review the workshop documentation for any specific instructions related to this filter, or reach out to the workshop support for further assistance.
Sources
AWS Blu Age L3 Workshop: TRANBKP error - { "exitCode": -1, "stepName": "PRC001", "program": "IDCAMS", "status": "Error" } | AWS re:Post
AWS BluAge L3 workshop. Go-Live->Deploy->Start application. Application fails to start. | AWS re:Post

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.