After a week away, I'm back. It feels funny to not write any code for a full week. I had my notebook with me and limited Internet access during the week but time and energy kept me from coding. We took the week away to finish up a long term project. The project, which was the major renovation of a house that's been in my wife's family for many years, never had a specific time line but it feels good to be done. While we put a lot of time and energy into this multi-year project it was truly a labor of love. Because I enjoy programming so much, on some levels I liken it to software projects I have been a part of over the years which take on a life of their own. When we complete or reach major milestones on such projects we should take time to reflect on our efforts. I took a good bit of time before we left to come home and on the six hour ride back to do just that. It's not all that unlikely that I'll take on a similar effort in the future and I am confident I've learned some good stuff. I wish you the same in your software development efforts and whatever else you might have a notion to tackle.
ClassCastException: JAXB
A particular Java application I co-developed leverages both SOAP/WSDL and REST web services. We use maven to manage the build process of this application which has been in production for a few years now. It's been around long enough to have moved from Java 5 to Java 6 and now Java 7 (with limited testing using Java 8). We have also had the experience of initially including JAXB jar files with our application and dealing with the "endorsed" directory because JAXB versions were a bit of a moving target for a while. Now that JAXB is neatly included with Java as it should be so we no longer include it. I thought all of this was behind us (and unfortunately somewhat forgotten) until recently when we added Jersey 1.17 to the application to call some newer REST services. When trying to connect to the server, my stack trace included this: Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to com.sun.xml.internal.bin...
Comments