vendredi 16 décembre 2016

Caused by: java.lang.RuntimeException: Could not find conduit initiator for address:

Caused by: java.lang.RuntimeException: Could not find conduit initiator for address: 

This problme can be caused by the absence of  this jar :cxf-rt-transports-http-3.0.0.jar.

jeudi 15 décembre 2016

org.apache.cxf.Messages != org.apache.cxf.APIMessages

java.lang.IllegalArgumentException: org.apache.cxf.Messages != org.apache.cxf.APIMessages

This exeption can occur when we use web service with cxf.
Here,we have a problem of jar between server side and client side.
for example on server we have this version cxf-core-3.0.0.jar  wich  contains org.apache.cxf.Messages


But on client we find this version cxf-bundle-20.10 wich  contains org.apache.cxf.APIMessages.

To resolve this exception we have just to change cxf-bundle-20.10 by  cxf-bundle-3.0.0-milestone2.zip  wich  contains org.apache.cxf.Messages.

I hope this help you :)




error on mapping with @EmbeddedId

Eclipse error on mapping with @EmbeddedId.

this error occurs when you use composite id on JPA project 
To resove it you must do like this :
Preferences -> Java Persistence -> JPA -> Errors/Warnings -> Attribute -> Embedded ID classes should not contain relationship mappings: (Ignore)


CANADA JOB