Hi,
Considering your code is working when the class is not packaged in a jar, I guess you have a setup area like that:
<code>
<bean id="processEngineConfiguration" … >
…
<property name="customFormTypes">
<list>
…
<bean class="your_package.YourCustomFormType"/>
</list>
</property>
</bean>
</code>
is it true?
Or maybe you have a custom processEngineConfiguration ?
Could you give some more details about how you set the customFormTypes in the process engine configuration?
(you could start investigating this by putting some breakpoints into this class: ProcessEngineConfigurationImpl.java in the initFormTypes method and check what values do you have in customFormTypes,
probably this attribute will be empty or null and then have to check why is not set with the list you provided)