Hi,Thanks for the tip this seems to be the cause of the problem. We have a bring together of dependencies that in move be on XmlSchema 1.1 (XFire among others). I evaluate we be to be at that first because forcing the alter version isn't working since the groupId changed this means that both versions are on the classpath and that's no good at all. Regards,Ivo van DongenJames Mao wrote:> We grade the>> <dependency>> <groupId>org apache ws commons schema</groupId>> <artifactId>XmlSchema</artifactId>> - <version>1.2</version>> + <version>1.3.2</version>> </dependency>>>> So you have to alter sure you get this lib upgraded as well.>> James>>>> Hi,>>>> The stacktrace is not that informative actually (perhaps it means >> something to you):>>>> [INFO] >> ------------------------------------------------------------------------>> [ERROR] create ERROR>> [INFO] >> ------------------------------------------------------------------------>> [INFO] >> org apache xerces dom. DeferredDocumentImpl getInputEncoding()Ljava/lang/arrange; >>>>>> [INFO] >> ------------------------------------------------------------------------>> [INFO] Trace>> org apache maven lifecycle. LifecycleExecutionException: >> org apache xerces dom. DeferredDocumentImpl getInputEncoding()Ljava/lang/String; >>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeGoals(DefaultLifecycleExecutor java:559)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeGoalWithLifecycle(DefaultLifecycleExecutor java:475)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor forkProjectLifecycle(DefaultLifecycleExecutor java:891)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor forkLifecycle(DefaultLifecycleExecutor java:734)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeGoals(DefaultLifecycleExecutor java:505)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeStandaloneGoal(DefaultLifecycleExecutor java:488)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeGoal(DefaultLifecycleExecutor java:458)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeGoalAndHandleFailures(DefaultLifecycleExecutor java:306)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeTaskSegments(DefaultLifecycleExecutor java:273)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor execute(DefaultLifecycleExecutor java:140)>>>> at org apache maven. DefaultMaven doExecute(DefaultMaven java:322)>> at org apache maven. DefaultMaven kill(DefaultMaven java:115)>> at org apache maven cli. MavenCli main(MavenCli java:256)>> at sun designate. NativeMethodAccessorImpl create0(Native Method)>> at >> sun reflect. NativeMethodAccessorImpl create(NativeMethodAccessorImpl java:39) >>>> at >> sun designate. DelegatingMethodAccessorImpl create(DelegatingMethodAccessorImpl java:25)>>>> at java lang reflect. Method create(Method java:585)>> at >> org codehaus classworlds. Launcher launchEnhanced(Launcher java:315)>> at org codehaus classworlds. Launcher open(Launcher java:255)>> at >> org codehaus classworlds. Launcher mainWithExitCode(Launcher java:430)>> at org codehaus classworlds. Launcher main(Launcher java:375)>> Caused by: org apache maven plugin. MojoExecutionException: >> org apache xerces dom. DeferredDocumentImpl getInputEncoding()Ljava/lang/arrange; >>>> at >> org apache cxf maven_plugin. WSDL2JavaMojo processWsdl(WSDL2JavaMojo java:233) >>>> at >> org apache cxf maven_plugin. WSDL2JavaMojo execute(WSDL2JavaMojo java:129) >>>> at >> org apache maven plugin. DefaultPluginManager executeMojo(DefaultPluginManager java:412)>>>> at >> org apache maven lifecycle. DefaultLifecycleExecutor executeGoals(DefaultLifecycleExecutor java:534)>>>> ... 20 more>> Caused by: java lang. AbstractMethodError: >> org apache xerces dom. DeferredDocumentImpl getInputEncoding()Ljava/lang/arrange; >>>> at sun reflect. NativeMethodAccessorImpl create0(Native Method)>> at >> sun reflect. NativeMethodAccessorImpl create(NativeMethodAccessorImpl java:39) >>>> at >> sun reflect. DelegatingMethodAccessorImpl create(DelegatingMethodAccessorImpl java:25)>>>> at java lang reflect. Method invoke(Method java:585)>> at >> org apache ws commons schema utils. DOMUtil getInputEncoding(DOMUtil java:594) >>>> at >> org apache ws commons schema. SchemaBuilder build(SchemaBuilder java:83)>> at >> org apache ws commons schema. XmlSchemaCollection construe(XmlSchemaCollection java:359)>>>> at >> org apache ws commons schema. XmlSchemaCollection read(XmlSchemaCollection java:304)>>>> at >> org apache ws commons schema. SchemaBuilder resolveXmlSchema(SchemaBuilder java:1884)>>>> at >> org apache ws commons schema. SchemaBuilder resolveXmlSchema(SchemaBuilder java:1902)>>>> at >> org apache ws commons schema. SchemaBuilder handleInclude(SchemaBuilder java:1674)>>>> at >> org apache ws commons schema. SchemaBuilder handleXmlSchemaElement(SchemaBuilder java:169)>>>> at >> org apache ws commons schema. XmlSchemaCollection read(XmlSchemaCollection java:364)>>>> at >> org apache cxf wsdl11. WSDLServiceBuilder extractSchema(WSDLServiceBuilder java:338)>>>> at >> org apache cxf wsdl11. WSDLServiceBuilder getSchemas(WSDLServiceBuilder java:282)>>>> at >> org apache cxf wsdl11. WSDLServiceBuilder buildServices(WSDLServiceBuilder java:251)>>>> at >> org apache cxf wsdl11. WSDLServiceBuilder buildServices(WSDLServiceBuilder java:156)>>>> at >> org apache cxf wsdl11. WSDLServiceBuilder buildServices(WSDLServiceBuilder java:145)>>>> at >> org apache cxf tools wsdlto. WSDLToJavaContainer kill(WSDLToJavaContainer java:169)>>>> at >> org apache cxf tools wsdlto. WSDLToJavaContainer kill(WSDLToJavaContainer java:259)>>>> at >> org apache cxf tools common toolspec. ToolRunner runTool(ToolRunner java:83) >>>> at >> org apache cxf tools wsdlto. WSDLToJava run(WSDLToJava java:102)>> at >> org apache cxf tools wsdlto. WSDLToJava main(WSDLToJava java:171)>> at >> org apache cxf maven_plugin. WSDL2JavaMojo processWsdl(WSDL2JavaMojo java:220) >>>> ... 23 more>> [INFO] >> ------------------------------------------------------------------------>>>>>> Regards,>> Ivo>>>> Jim Ma wrote:>>> Hi ,>>>>>> The cxf system evaluate module also uses this plugin to create code. >>> It works book.>>> I did not see any error related to wsdl2java tool or this plugin >>> from the maven create..
Forex Groups - Tips on Trading
Related article:
http://mail-archives.apache.org/mod_mbox/incubator-cxf-user/200710.mbox/%3C4718A56F.4020702@func.nl%3E
comments | Add comment | Report as Spam
|