CXF relies on a bunch of libs that are in java 6 by default, adding them to a java 5 project is a bit of a pain.
Is there an easy dependency or 2 to add to get CXF to work in Java 5?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is what finally worked for me, and has the added bonus that it is OSGi compliant as well:
EDIT #1
A word of caution (learned the hard way), this dependency has it’s own version of several libraries including Xerces. If you are using something else that has one of these on the path (for example: dom4j -> jaxen -> xerces) you may end up getting weird “AbstractMethodErrors” because you essentially have two copies of the same class on your path 🙁