I built my own cloud connector with Mule 3.3.0 and JDK7, and everything works fine. When upgrading to Mule 3.4.0, I ran into a problem with passing parameters to @Processor functions List .
@Processor public String myProcessor(String content) { return content; }
This compiles fine, but it
@Processor public String myProcessor(List<String> content) { return "content"; }
produces 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 1.6, this works fine. I tried using the maven-compiler-plugin, but to no avail.
source share