Indeed for NetBeans this codepath should not be hit. If permissions were somehow messed with though, the file might indeed be unreadable and thus explain why the "load from classpath" route is taken.
This project contains code for RabbitMQ tutorials with their ports to various languages. This repository only contains runnable code. Please consult tutorials on the ...