I've been working my way through the changes for the tns prefix. Rather
out of the blue, the build in tools/javato has started to fail with a
WSDL2Java failure. My immediate problem is figuring out what the input
.wsdl file is that causes this chaos.


+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Apache CXF Command Line Tools JavaTo Core
[INFO]   Apache CXF Command Line Tools JavaTo Test
[INFO]   Apache CXF Command Line Tools JavaTo
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Apache CXF Command Line Tools JavaTo Core
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
----
[INFO] [clean:clean]
[INFO] Deleting directory C:\x\cxf\trunk\tools\javato\core\target
[INFO] Deleting directory
C:\x\cxf\trunk\tools\javato\core\target\classes
[INFO] Deleting directory
C:\x\cxf\trunk\tools\javato\core\target\test-classes
[INFO] Deleting directory C:\x\cxf\trunk\tools\javato\core\target\site
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] ************************************************************** 
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[INFO] Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
be  global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [checkstyle:checkstyle {execution: validate}]
[INFO] Starting audit...
Audit done.

[INFO] Preparing pmd:check
[INFO] [pmd:pmd]
[INFO] [pmd:check {execution: validate}]
[INFO] 
Downloading:
http://repo1.maven.org/maven2/org/apache/neethi/neethi/2.0.2/neethi-2.0.
2.pom
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 20 source files to
C:\x\cxf\trunk\tools\javato\core\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\x\cxf\trunk\tools\javato\core\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar:
C:\x\cxf\trunk\tools\javato\core\target\cxf-tools-java2wsdl-2.1-incubato
r-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
C:\x\cxf\trunk\tools\javato\core\target\cxf-tools-java2wsdl-2.1-incubato
r-SNAPSHOT.jar to C:\Documents and
Settings\benson.BASIS\.m2\repository\org\apache\cxf\cxf-tools-java2wsdl\
2.1-incubator-SNAPSHOT\cxf-tools-java2wsdl-2.1-incubator-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Apache CXF Command Line Tools JavaTo Test
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
----
[INFO] [clean:clean]
[INFO] Deleting directory C:\x\cxf\trunk\tools\javato\test\target
[INFO] Deleting directory
C:\x\cxf\trunk\tools\javato\test\target\classes
[INFO] Deleting directory
C:\x\cxf\trunk\tools\javato\test\target\test-classes
[INFO] Deleting directory C:\x\cxf\trunk\tools\javato\test\target\site
[INFO] [checkstyle:checkstyle {execution: validate}]
[INFO] Starting audit...
Audit done.

[INFO] Preparing pmd:check
[INFO] [pmd:pmd]
[INFO] [pmd:check {execution: validate}]
[INFO] 
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [cxf-codegen:wsdl2java {execution: generate-test-sources}]
Sep 6, 2007 4:47:58 PM org.apache.cxf.tools.wsdlto.core.PluginLoader
loadPlugin
INFO: Loading plugin jar:file:/C:/Documents and
Settings/benson.BASIS/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-fro
ntend-jaxws/2.1-incubator-SNAPSHOT/cxf-tools-wsdlto-frontend-jaxws-2.1-i
ncubator-SNAPSHOT.jar!/META-INF/tools-plugin.xml
Sep 6, 2007 4:47:58 PM org.apache.cxf.tools.wsdlto.core.PluginLoader
loadPlugin
INFO: Found 1 frontends in <jaxws> plugin.
Sep 6, 2007 4:47:58 PM org.apache.cxf.tools.wsdlto.core.PluginLoader
loadPlugin
INFO: Loading <jaxws> frontend from <jaxws> plugin.
Sep 6, 2007 4:47:58 PM org.apache.cxf.tools.wsdlto.core.PluginLoader
loadPlugin
INFO: Loading plugin jar:file:/C:/Documents and
Settings/benson.BASIS/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-dat
abinding-jaxb/2.1-incubator-SNAPSHOT/cxf-tools-wsdlto-databinding-jaxb-2
.1-incubator-SNAPSHOT.jar!/META-INF/tools-plugin.xml
Sep 6, 2007 4:47:58 PM org.apache.cxf.tools.wsdlto.core.PluginLoader
loadPlugin
INFO: Found 1 databindings in <jaxb> plugin.
Sep 6, 2007 4:47:58 PM org.apache.cxf.tools.wsdlto.core.PluginLoader
loadPlugin
INFO: Loading <jaxb> databinding from <jaxb> plugin.
Sep 6, 2007 4:47:58 PM
org.springframework.context.support.AbstractApplicationContext refresh
INFO: Refreshing [EMAIL PROTECTED]:
display name [EMAIL PROTECTED];
startup date [Thu Sep 06 16:47:58 EDT 2007]; root of context hierarchy
Sep 6, 2007 4:47:58 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf.xml]
Sep 6, 2007 4:47:58 PM
org.springframework.context.support.AbstractApplicationContext refresh
INFO: Bean factory for application context
[EMAIL PROTECTED]:
[EMAIL PROTECTED]
6b2
Sep 6, 2007 4:47:58 PM
org.springframework.context.support.AbstractApplicationContext$BeanPostP
rocessorChecker postProcessAfterInitialization
INFO: Bean 'org.apache.cxf.bus.spring.Jsr250BeanPostProcessor' is not
eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
Sep 6, 2007 4:47:58 PM
org.springframework.context.support.AbstractApplicationContext$BeanPostP
rocessorChecker postProcessAfterInitialization
INFO: Bean 'org.apache.cxf.bus.spring.BusExtensionPostProcessor' is not
eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
Sep 6, 2007 4:47:58 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
[EMAIL PROTECTED]
6b2: defining beans
[cxf,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bu
s.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManag
er,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport
.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorMana
ger,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,or
g.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusL
ifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.en
dpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleMan
ager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.
endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,o
rg.apache.cxf.catalog.OASISCatalogManager]; root of factory hierarchy

WSDLToJava Error : Element responseType has Having the same name with
different types[{http://www.w3.org/2001/XMLSchema}string --
{http://www.w3.org/2001/XMLSchema}float],  In wrapper style, there is a
collision as per the spec.


[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] ExitException: status 1

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: ExitException:
status 1
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:564)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(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:
ExitException: status 1
        at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.processWsdl(WSDL2JavaMojo.java
:201)
        at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:102
)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        ... 16 more
Caused by: org.apache.tools.ant.ExitException: ExitException: status 1
        at
org.apache.tools.ant.util.optional.NoExitSecurityManager.checkExit(NoExi
tSecurityManager.java:38)
        at java.lang.Runtime.exit(Runtime.java:88)
        at java.lang.System.exit(System.java:869)
        at
org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:181)
        at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.processWsdl(WSDL2JavaMojo.java
:186)
        ... 19 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Thu Sep 06 16:48:00 EDT 2007
[INFO] Final Memory: 23M/41M
[INFO]
------------------------------------------------------------------------

Reply via email to