Invalid module dependencies for FreeMarker
------------------------------------------
Key: SWITCHYARD-299
URL:
https://issues.jboss.org/browse/SWITCHYARD-299
Project: SwitchYard
Issue Type: Bug
Components: distribution
Affects Versions: 0.1
Environment: JBoss AS 7
Reporter: Jiri Pechanec
I tried to use a FreeMarker template for a transformation.
The application refused to deploy with exception
Caused by: org.jboss.modules.ModuleLoadError: Module freemaker:main is not found
at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:78)
[jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.Module.getPaths(Module.java:944)
[jboss-modules.jar:1.0.0.Beta17]
Snippets of config files
switchyard.xml
<trfm:transform.smooks
xmlns:trfm="urn:switchyard-config:transform:1.0"
config="/smooks/Service.xml"
from="{http://swi.org/}echoTwoWay"
to="java:java.lang.String" type="SMOOKS"/>
/smooks/Service.xml
<core:namespaces>
<core:namespace prefix="swi"
uri="http://swi.org/"/>
</core:namespaces>
<core:exports>
<core:result type="org.milyn.payload.StringResult"/>
</core:exports>
<ftl:freemarker applyOnElement="swi:echoTwoWay">
<ftl:template><!-- Fixed output --></ftl:template>
</ftl:freemarker>
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira