JBoss Community

Re: Guvnor - build package problem, import definitions

created by Tihomir Surdilovic in jBPM - View the full discussion

>> I get a "Process Compilation error HashMap cannot be resolved to a type HashMap cannot be resolved to a type" error. <<

The Guvnor package you have your process in and are building has to have the proper imports defined.

Click on your package, and select the "Edit" tab, then under "Configuration: Imported Types" click the green "+" image to add another import type.

In the popup shown, in the "(advanced) class name:" text box type in java.util.HashMap, then the "OK" button. Validate your configuration, and then build your package again. It should build fine now.

 

Hope this helps.

 

Thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community