Code generation fails when generating Java EE projects (deprecated)
Event generation sometimes produces very long file names for the Common Base Events. You cannot generate the Java EE projects if you are using any Common Base Events with very long file names.
About this task
If this problem occurs, you will see an error when you right-click and select Generate Monitor Java EE Projects. Code generation fails with a code generation exception. If you click Details, the first line contains Class 'eventDefinitionList' not found.
To solve this problem, complete the following steps:
Procedure
- In the Project Explorer, under Event Definitions, select the event definition name and click Rename. Type a new name for the Common Base Event file.
- In the Monitor Model editor, click the Event Model tab and locate the Common Base Event file that you renamed. Click Remove. Click Add, browse to the new name, and click OK.