我想设置Geneious程序,但我得到以下异常错误:
Exception:
java.lang.NoSuchMethodException: No constructor for class com.install4j.api.context.OverwriteMode found
at com.install4j.runtime.xmldecode.Handler.endElement(Unknown Source)
at com.install4j.runtime.xmldecode.SaxOutputter.endElement(Unknown Source)
at com.install4j.runtime.xmldecode.SaxOutputter.element(Unknown Source)
at com.install4j.runtime.xmldecode.SaxOutputter.element(Unknown Source)
at com.install4j.runtime.xmldecode.SaxOutputter.element(Unknown Source)
at com.install4j.runtime.xmldecode.SaxOutputter.element(Unknown Source)
at com.install4j.runtime.xmldecode.SaxOutputter.output(Unknown Source)
at com.install4j.runtime.xmldecode.XMLDecoder.initialize(Unknown Source)
at com.install4j.runtime.xmldecode.XMLDecoder.readObject(Unknown Source)
at com.install4j.runtime.installer.config.AbstractBeanConfig.instantiateBean(Unknown Source)..。
我该如何解决这个问题。
发布于 2016-04-14 18:37:47
您是否正在尝试调用OverwriteMode的构造函数
您应该使用枚举常量:OverwriteMode.ALWAYS、OverwriteMode.NEVER、...(在链接的页面上都找到了)
https://stackoverflow.com/questions/36620423
复制相似问题