We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P1.0, released 7 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
1
#42074: The examples do not build out of the box. The root pom.xml along with the hello modules all have various issues, most of which have been repo...more...
P1.0
13-Jan-10
1
#42075: Please update the book to include references to the source for the book. While it does mention it with "Download hello/src/main/..." What? ...more...
P1.0
13-Jan-10
32
#40359: To get the hello-service hello-consumer examples working, you have to do the following: In hello-service edit the pom.xml file and change the ...more...
P1.0
06-Aug-09
34
#40360: The example pom.xml file for hello-consumer is wrong. The correct dependencies section looks like this: <dependencies> <dependency> ...more...
P1.0
06-Aug-09
37
#40236: Examples doesn't work anymore due to inavailability of pax.drone. It seams, the latter has been renamed to pax.exam, but neither by maven nor ...more...
P1.0
28-Jul-09
49
#39860: Is the zip'd source code suppose to be fully functional or we need to modify it? Bundles are not configured correctly; i.e Missing imported pa...more...
P1.0
07-Jul-09
54
#41558: first line says: dwmj% pax-create-bundle -p dwmj.domain -n domain \ -g com.dudewheresmyjar -v 1.0.0-SNAPSHOTs but later on this bundle...more...
P1.0
19-Nov-09
55
#39802: In page 55 after we run pax-create-bundle it is suggested to delete the example codes. I do that and continue on with creating the domain cla...more...
P1.0
03-Jul-09
55

#39314: For the footnote, Windows users can substitute a caret (^) in place of the Unix backslash to allow continuation of lines.--Tim Kuntz

B1.0
04-Jun-09
61
#40158: pax-create-bundle created this line in osgi.bnd: Bundle-Activator: ${bundle.namespace}.internal.ExampleActivator but it needs to be removed ...more...
P1.0
23-Jul-09
63
#39301: I can't get pax-provision call to work. I'm working behind a proxy and read that equinox won't work... so predictably equinox fails on p. 56. ...more...
B1.0
02-Jun-09
66
#40369: The instructions for setting up the pax-embed-jar process were confusing, in large part because of the figure at the bottom of page 66. Wha...more...
P1.0
07-Aug-09
83
#41694: I am following dude, where is my jar! example. After importing pax-logging-api and pax-logging-service bundles, I was expecting to see the err...more...
P1.0
03-Dec-09
83
#40955: The pax-import-bundle here doesn't work, and the output in the book shows it too! It says "problem resolving project". I'm getting exactly t...more...
P1.0
07-Oct-09
85
#39997: Before importing ops4j pax logging bundles need to add repository $>pax-add-repository -i ops4j.releases -u <link http : // repository.ops4j.o...more...
P1.0
15-Jul-09
85
#39799: Hi, I followed the book to build the dudewheresmyjar project and when I reached page 85, I managed to get all modules installed and running bu...more...
P1.0
02-Jul-09
85
#40442: I also get the infinite repetition issue with the pax-provision call on page 85. I cannot progress through Chapter 5 until this is explained....more...
P1.0
13-Aug-09
87
#39268: Have same problem described above. Getting NoClassDefFound errors from Compass. I'm haven't used Compass before, but what kind of demands i...more...
B1.0
28-May-09
89

#40647: Having same problem as #39644, I applied advice given at #39997... and "ClassNotFoundException" on CompassConfiguration disappeared.

My 2 cents.--Dany Poupard

P1.0
03-Sep-09
90
#40746: When creating the first test class to run with PAX Exam, it would be wise to stress that unlike normal JUnit tests, this one should not be put...more...
P1.0
15-Sep-09
90

#39269: Sorry, the errata above about NoClassDefFound errors should be for page 90, not 87. --Patrick Paulin

B1.0
28-May-09
90
#39644: Hello, For the index bundle, instead of having NoClassDefFoundError on IndexWriter I get NoClassDefFoundError on org.compass.core.config.Com...more...
P1.0
25-Jun-09
92
#40251: I found that the tests wouldn't pass without making the following correction in IndexServiceBundleTest/configuration(): Was: mavenBundl...more...
P1.0
29-Jul-09
92
#39859: running 'mvn test' from bundle-tests directory fails. I even tried from downloaded source code. Missing: ---------- 1) com.dudewheresmyj...more...
P1.0
07-Jul-09
94
#39418: Hi, All over the book you can't seem to make up your mind over package name, some places you have it com.dudewheresmyjar.dude where as other...more...
B1.0
11-Jun-09
95

#41563: Section 5.3, 1st paragraph, 4th line: ".. to look search for JAR files .." should either be "to look for" or "to search for"

--Per Holst

P1.0
19-Nov-09
99
#40753: The code example for the SpiderActivator class uses an array of MavenSpider instances that is being looped through in the stop() method. This ...more...
P1.0
16-Sep-09
100
#40754: The "Deploying the Spider Bundle" paragraph speaks of the 'pax-add-dependency' script, yet it should be the 'pax-import-bundle' script, as the...more...
P1.0
16-Sep-09
101
#40763: I had to also add the wrapped compass depdendency to get spider to compile. spider% pax-import-bundle -g com.dudewheresmyjar.dwmj -a org.co...more...
P1.0
17-Sep-09
104
#41890: The actual code for Maven Spider, from a synchronized threading perspective, is potentially broken. public void run() { try { ...more...
P1.0
22-Dec-09
112
#40012: Need to add repository for spring bundles before importing the bundles. pax-add-repository -i com.springsource.repository.bundles.external ...more...
P1.0
16-Jul-09
112
#39882: As the book enters the portion for Spring DM and its setup it asks to perform a pax-import-bundle from dwmjs. There are no prior references to...more...
P1.0
08-Jul-09
166

#41599: Same as #39847 (for PDF) Bundle IDs are referenced as 32 and 33 when they are listed as 35 and 36 respectively.--Per Holst

P1.0
23-Nov-09
168
#39847: Hi, thanks for a well-written book. Just like to highlight that web bundle and UI fragment ids should be 35 and 36 respectively instead of...more...
P1.0
07-Jul-09
192

#41601: index-context.xml has the "</beans>" tag in bold--Per Holst

P1.0
23-Nov-09
193

#41602: index-osgi.xml has the "</beans:beans>" tag in bold--Per Holst

P1.0
23-Nov-09