I built a custom cloud connector with Mule 3.3.0 and JDK7, and everything was working fine. When updating to Mule 3.4.0 I ran into an issue with passing @Processor
functions List
parameters.
@Processor
public String myProcessor(String content)
{
return content;
}
This compiles fine, but this
@Processor
public String myProcessor(List<String> content)
{
return "content";
}
throws the following error:
[ERROR] Failed to execute goal org.mule.tools.devkit:mule-devkit-maven-plugin:3.4.0:generate-sources (default-generate-sources) on project enterprise-message-adapter: java.lang.InstantiationError: com.sun.tools.javac.util.Name$Table -> [Help 1]
If I change my JAVA_HOME to point at 1.6 this works fine. I've tried using the maven-compiler-plugin, but to no avail.