I am having a problem with NetBeans projects. It affects everyone on my team, for every project. Whenever a project is opened, or even sometimes seemingly at random, NetBeans (6.1) will add two libraries to the compile-time list. Normally this would go unnoticed, but the inclusion of these libraries causes JBoss to unceremoniously grenade itself when the apps are deployed.
It's a minor inconvenience (all we have to do is go remove the libraries), but I would still appreciate any ideas on how to get this to stop, once and for all.
Here's a picture of what I mean (the two offending libraries are highlighted): Dammit. http://img192.imageshack.us/img192/1590/dammith.jpg
Are you doing anything to prompt inclusion of the libraries? For example, are you actually creating any REST web services, using a wizard? These look like libs that would be included if you were using REST/Jersey.
Other things you can try.
If you're not using REST/Jersey at all, simply remove the module from NetBeans, then, likely, whatever code or bug it has that's adding it's libraries to your project will stop executing.
Otherwise, rather than deleting the libraries from your project, simply click and uncheck the "Packaging" checkbox. Then, while the libraries will still be part of the project, at least they won't be bundled in your artifacts. This ideally would prevent them from "coming back" (since they're still there), and not grenade JBoss, because they won't be included in the WAR/EAR/JAR, if that's actually an issue for existing projects.