I am not sure what I did to fix it, but the program works now.
All I did was to comment out some code in Eclipse that was related to RDF annotations but that was unconnected to this test program.
It's quite mysterious.
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)