Exception initializing velocity engine
hi, trying run mxmlc using flex ant tasks. during execution, run problem below. astprocess class in mm-velocity-1.4.jar. using flex sdk 3.0.0. in advance
[mxmlc] <...>\main.mxml: error: exception initializing velocity engine: flex2.compiler.util.velocitymanager$logger
[mxmlc] error: java.io.invalidclassexception: org.apache.velocity.runtime.parser.node.astprocess; org.apache.velocity.runtime.parser.node.astprocess; class invalid deserialization
[mxmlc] java.lang.runtimeexception: java.io.invalidclassexception: org.apache.velocity.runtime.parser.node.astprocess; org.apache.velocity.runtime.parser.node.astprocess; class invalid deserialization
[mxmlc] @ flex2.compiler.util.velocitymanager.gettemplate(velocitymanager.java:175)
[mxmlc] @ flex2.compiler.util.velocitymanager.gettemplate(velocitymanager.java:151)
[mxmlc] @ flex2.compiler.util.velocitymanager.gettemplate(velocitymanager.java:137)
[mxmlc] @ flex2.compiler.mxml.interfacecompiler.generateskeleton(interfacecompiler.java:697)
[mxmlc] @ flex2.compiler.mxml.interfacecompiler.parse2(interfacecompiler.java:280)
[mxmlc] @ flex2.compiler.mxml.compiler.parse2(compiler.java:129)
[mxmlc] @ flex2.compiler.api.parse2(api.java:2381)
[mxmlc] @ flex2.compiler.api.parse2(api.java:2339)
[mxmlc] @ flex2.compiler.api.batch2(api.java:373)
[mxmlc] @ flex2.compiler.api.batch(api.java:1108)
[mxmlc] @ flex2.compiler.api.compile(api.java:1281)
[mxmlc] @ flex2.compiler.api.compile(api.java:1201)
[mxmlc] @ flex2.tools.compiler.mxmlc(compiler.java:240)
[mxmlc] @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)
[mxmlc] @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
[mxmlc] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
[mxmlc] @ java.lang.reflect.method.invoke(method.java:597)
[mxmlc] @ flex.ant.flextask.executeinprocess(flextask.java:311)
[mxmlc] <...>\main.mxml: error: exception initializing velocity engine: flex2.compiler.util.velocitymanager$logger
[mxmlc] error: java.io.invalidclassexception: org.apache.velocity.runtime.parser.node.astprocess; org.apache.velocity.runtime.parser.node.astprocess; class invalid deserialization
[mxmlc] java.lang.runtimeexception: java.io.invalidclassexception: org.apache.velocity.runtime.parser.node.astprocess; org.apache.velocity.runtime.parser.node.astprocess; class invalid deserialization
[mxmlc] @ flex2.compiler.util.velocitymanager.gettemplate(velocitymanager.java:175)
[mxmlc] @ flex2.compiler.util.velocitymanager.gettemplate(velocitymanager.java:151)
[mxmlc] @ flex2.compiler.util.velocitymanager.gettemplate(velocitymanager.java:137)
[mxmlc] @ flex2.compiler.mxml.interfacecompiler.generateskeleton(interfacecompiler.java:697)
[mxmlc] @ flex2.compiler.mxml.interfacecompiler.parse2(interfacecompiler.java:280)
[mxmlc] @ flex2.compiler.mxml.compiler.parse2(compiler.java:129)
[mxmlc] @ flex2.compiler.api.parse2(api.java:2381)
[mxmlc] @ flex2.compiler.api.parse2(api.java:2339)
[mxmlc] @ flex2.compiler.api.batch2(api.java:373)
[mxmlc] @ flex2.compiler.api.batch(api.java:1108)
[mxmlc] @ flex2.compiler.api.compile(api.java:1281)
[mxmlc] @ flex2.compiler.api.compile(api.java:1201)
[mxmlc] @ flex2.tools.compiler.mxmlc(compiler.java:240)
[mxmlc] @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)
[mxmlc] @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
[mxmlc] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
[mxmlc] @ java.lang.reflect.method.invoke(method.java:597)
[mxmlc] @ flex.ant.flextask.executeinprocess(flextask.java:311)
you're going need volunteer more data :) compile correctly commandline, fb? did change *anything* in sdk? jre using? ant? (did put custom jars in ant lib folder?)
you try forking compile fork="true" execute out of process -- little slower more reliable.
jono
you try forking compile fork="true" execute out of process -- little slower more reliable.
jono
More discussions in Developers
adobe
Comments
Post a Comment