Ok, I saw that there were actual access restrictions imposed in the JDK libraries by the project settings, this is intentional. I changed my preferences to tell Eclipse to "ignore" those errors. Now the only problem I have is that I am missing some classes for the code in:
In this test case Eclipse complains that it can't find 3 classes from org.jboss.xb.binding package.
Findjar (http://www.findjar.com/class/org/jboss/xb/binding/ObjectModelFactory.html) says this can be found in JBoss 4.2.3 within jboss-xml-binding.jar. This can't be right, so... any ideas?