Troubleshooting the CICS build toolkit
If you are experiencing problems with the CICS build toolkit, use these techniques to diagnose the problem.
Building a CICS bundle that references a dynamic web project with a target run time
When you develop a dynamic web project, you might configure the project to compile against a local Liberty server. However, the local Liberty server target run time is not available when you deploy the project to a staging or production environment.
If the project's target run time is not available, the CICS build toolkit performs the following tasks:
- Removes references to unsupported target runtimes from the project. The following message is
displayed:
WARNING The following target runtimes are not supported by the CICS Build Toolkit and will be removed: [WebSphere Application Server Liberty] (referenced by: /jaxws-fixme/JAXWSWebSample)You can suppress this warning message by manually removing these unsupported target runtimes from the project.
- Adds the CICS Liberty Libraries class path container to the project, ensuring that the project can access these libraries at run time. The following message is displayed:
WARNING Automatically added classpath container: 'Liberty JVM server libraries (WLP 16.0.0.2, CICS TS 5.3)' (referenced by: /jaxws-fixme/JAXWSWebSample)
Imports not able to be resolved
The CICS build toolkit might display a message that is related to imports that cannot be resolved, similar to the following message:
The import javax.servlet cannot be resolved
To resolve this issue, you must add the Liberty JVM server libraries to the project's class path. See Creating a dynamic web project for instructions.