Do a "mvn clean install" in there.   JIBX sometimes gets confused as to the 
package name it needs.   In particular, this can occur more often if you do a 
"clean" within eclipse or similar.


Dan


On Jul 9, 2013, at 10:24 AM, Harsha Thirimanna <[email protected]> 
wrote:

> Hi,
> Theis test cases  fail ,when i build that
> 
> t:~/DG/cxf/systests/databinding$ cit
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CXF Databinding System Tests 3.0.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> cxf-systests-databinding ---
> [INFO] Deleting /home/harshat/DG/cxf/systests/databinding/target
> [INFO]
> [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @
> cxf-systests-databinding ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.9.1:checkstyle (validate) @
> cxf-systests-databinding ---
> [INFO] Starting audit...
> Audit done.
> 
> [INFO]
> [INFO] >>> maven-pmd-plugin:2.7.1:check (validate) @
> cxf-systests-databinding >>>
> [INFO]
> [INFO] --- maven-pmd-plugin:2.7.1:pmd (pmd) @ cxf-systests-databinding ---
> [INFO]
> [INFO] <<< maven-pmd-plugin:2.7.1:check (validate) @
> cxf-systests-databinding <<<
> [INFO]
> [INFO] --- maven-pmd-plugin:2.7.1:check (validate) @
> cxf-systests-databinding ---
> [INFO]
> [INFO]
> [INFO] --- cxf-xml2fastinfoset-plugin:2.5.0:xml2fastinfoset
> (xml2fastinfoset) @ cxf-systests-databinding ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @
> cxf-systests-databinding ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> cxf-systests-databinding ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /home/harshat/DG/cxf/systests/databinding/src/main/java
> [INFO] skip non existing resourceDirectory
> /home/harshat/DG/cxf/systests/databinding/src/main/resources
> [INFO] skip non existing resourceDirectory
> /home/harshat/DG/cxf/systests/databinding/src/main/resources-filtered
> [INFO] skip non existing resourceDirectory
> /home/harshat/DG/cxf/systests/databinding/target/generated/src/main/resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> cxf-systests-databinding ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @
> cxf-systests-databinding ---
> [WARNING] Manifest
> org.apache.cxf.systests:cxf-systests-databinding:jar:3.0.0-SNAPSHOT :
> Superfluous export-package instructions: [org.apache.cxf.*]
> [INFO]
> [INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source)
> @ cxf-systests-databinding ---
> [INFO] Test Source directory:
> /home/harshat/DG/cxf/systests/databinding/src/test/generated added.
> [INFO]
> [INFO] --- cxf-codegen-plugin:3.0.0-SNAPSHOT:wsdl2java
> (generate-test-sources) @ cxf-systests-databinding ---
> [INFO] Running code generation in fork mode...
> [INFO] Building jar: /tmp/cxf-tmp-515661/cxf-codegen8169219905665472182.jar
> [INFO] Retrieving document at
> 'file:/home/harshat/DG/cxf/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl'.
> [WARNING] Jul 08, 2013 4:43:03 PM
> org.apache.cxf.jibx.tools.JibxToolingProblemHandler report
> [WARNING] INFO: Loaded and validated 1 specified schema(s)
> [WARNING] Jul 08, 2013 4:43:04 PM
> org.apache.cxf.jibx.tools.JibxToolingProblemHandler report
> [WARNING] INFO: Generated 9 top-level classes in package
> org.apache.helloworldsoaphttpjibx.jibx.types
> [WARNING] Jul 08, 2013 4:43:04 PM
> org.apache.cxf.jibx.tools.JibxToolingProblemHandler report
> [WARNING] INFO: Total classes in model: 9
> [INFO] Retrieving document at
> 'file:/home/harshat/DG/cxf/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl'.
> [WARNING] Jul 08, 2013 4:43:04 PM
> org.apache.cxf.jibx.tools.JibxToolingProblemHandler report
> [WARNING] INFO: Loaded and validated 1 specified schema(s)
> [WARNING] Jul 08, 2013 4:43:04 PM
> org.apache.cxf.jibx.tools.JibxToolingProblemHandler report
> [WARNING] INFO: Generated 6 top-level classes in package
> org.apache.cxf.jibx.doclitbare.types
> [WARNING] Jul 08, 2013 4:43:04 PM
> org.apache.cxf.jibx.tools.JibxToolingProblemHandler report
> [WARNING] INFO: Total classes in model: 6
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
> @ cxf-systests-databinding ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
> cxf-systests-databinding ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-jibx-plugin:1.2.4.5:test-bind (default) @
> cxf-systests-databinding ---
> [INFO] Running JiBX binding compiler (single-module mode) on 2 binding
> file(s)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.SayHi; on mapping element at
> (line 3, col 85, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.SayHiResponse; on mapping
> element at (line 4, col 100, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.GreetMe; on mapping element at
> (line 7, col 88, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.GreetMeResponse; on mapping
> element at (line 10, col 104, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.GreetMeOneWay; on mapping
> element at (line 13, col 100, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.PingMe; on mapping element at
> (line 16, col 87, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.PingMeResponse; on mapping
> element at (line 17, col 103, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.FaultDetail; on mapping
> element at (line 18, col 96, in hello_world.xml)
> Error: Cannot find information for class
> org.apache.helloworldsoaphttpjibx.jibx.types.GreetMeFaultDetail; on mapping
> element at (line 22, col 110, in hello_world.xml)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20.674s
> [INFO] Finished at: Mon Jul 08 16:43:05 EDT 2013
> [INFO] Final Memory: 42M/885M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jibx:maven-jibx-plugin:1.2.4.5:test-bind
> (default) on project cxf-systests-databinding: Binding hello_world.xml is
> unusable because of validation errors -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> 
> 
> 
> thanks
> Harsha Thirimanna

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to