Category Archives: Software Development

Eclipse + Maven + AppEngine: Invalid classpath publish/export dependency

While working with Eclipse and Google Plugin for Eclipse the Maven Integration Plugin I ran into the problem that the dependency on the JDO API library jdo2-api-2.3-ea.jar appears in the App Engine SDK and in the Maven dependencies imported from … Continue reading

Posted in Software Development | Tagged , , | 1 Comment

ConversionException when parsing XML with XStream: Element is not defined

XStream is an easy to use Java library to serialize objects to XML and back again. Yesterday I wanted to parse a XML document generated by a third party software with the following structure: <?xml version="1.0" encoding="UTF-8"?> <AuditTrail> <Entry type="ExecutionReport" … Continue reading

Posted in Software Development | Tagged , , | 1 Comment

Tomcat + Hibernate + C3P0 + MySQL: Communications link failure

After deploying a Google GWT application using Hibernate and C3P0 connection pooling backed by a MySQL database server to a test server running Tomcat everything seemed to run correctly. But letting the server run over night a login attempt failed … Continue reading

Posted in Software Development | Tagged , , , | 1 Comment

How to write untestable code

In the talk “Unit Testing” within the series of Google “Clean Code Talks” Miško Hevery first asks the audience how they would write untestable code. There were not much answers although we are all very good at it. Question: “How … Continue reading

Posted in Software Development | Tagged , | Leave a comment

XPP3 pull-parser causing an ArrayIndexOutOfBoundsException: Google GWT with Eclipse, Maven and Hibernate

Today I lost almost two hours of productive work because I had problems compiling a simple Google GWT application. For software development I use Eclipse 3.4 (Ganymede) with the Maven Integration plugin. In case of GWT I also use the … Continue reading

Posted in Software Development | Tagged , , , , , | Leave a comment