error on generating java class from wsdl

719 views
Skip to first unread message

jihed ouledelhaj

unread,
Mar 29, 2013, 7:30:06 AM3/29/13
to ipf-...@googlegroups.com
Hi,
I'm using this tutorial  for routing to a webservice via HTTP:
when i run mvn install to generate the java classes for the wsdl i get the following error:
can any one please help me??

Regards Jihed
1111.PNG

Dmytro Rud

unread,
Mar 29, 2013, 3:51:44 PM3/29/13
to ipf-...@googlegroups.com
Hi Jihed

It seems that the following Maven dependency is missing in your project:

    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-rt-core</artifactId>

Regards
Dmytro



2013/3/29 jihed ouledelhaj <jihedaou...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "ipf-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

jihed ouledelhaj

unread,
Mar 30, 2013, 11:10:43 AM3/30/13
to ipf-...@googlegroups.com
Hi Dmytro,

Thank you but it doesn't solve the problem.
the error is:" Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.2.11:wsdl2java (generate-sources) on project router: could not find xmlbeans databinding within classpath"

Regards, 
Jihed

Dmytro Rud

unread,
Mar 30, 2013, 11:47:59 AM3/30/13
to ipf-...@googlegroups.com
> Thank you but it doesn't solve the problem.

It does.  Now you have another one.  It seems that the following Maven dependency is missing in your project:

<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-databinding-xmlbeans</artifactId>

Generally, when you get an error message like "cannot find this and that in the classpath", try to find out in which Maven artifact the missing class is located — e.g. by googling for "<class_name> Maven" — and add it to your pom.xml.

Regards
Dmytro


2013/3/30 jihed ouledelhaj <jihedaou...@gmail.com>
Jihed

--
Reply all
Reply to author
Forward
0 new messages