This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I just installed Netbeans 7.1 on a PC that had already Netbeans 6.9 installed, it offered to import my settings, which I accepted. My ANT-based spring projects got a lot of red flags, the cause was that the spring library couldn't be found, the "library classpath" dialogbox had paths to 3.0.2 jars. The cause was the file C:\Documents and Settings\tilman\.netbeans\7.1\config\org-netbeans-api-project-libraries\Libraries\spring-framework300.xml which has a lot of lines with 3.0.2.RELEASE.jar, these must be changed into 3.0.6.RELEASE.jar, and now it works. Also, commons-logging-1.1.jar must be changed into commons-logging-1.1.1.jar I don't know if this error is there by default, or if it is the result of accepting the import. Amusingly, it might be a result of the fix of bug 202983, which I reported :-)
I just installed on a PC without a previous Netbeans installation, that one doesn't have the problem. Thus it is related to importing the settings from a previous installation.
I'm not fully sure about all situations in which are these library definition files stored in user properties - probably in cases of manual customization of the library? CCing David, he could know when this happens. If it would be really after customising library, wouldn't it be ok, that the IDE preserved your library settings?
I just installed Netbeans 7.1 on a W7 PC that has NB 6.9 and NB 7.01 installed, and I agreed with the import of the from NB7.01 settings (Yes, this means I have 3 versions of Netbeans installed, LOL). This time I did not have the problem. Thus I suspect it is the import from NB6.9 to 7.1 that is the source of the trouble.
Sorry that I'm closing your issue as invalid, but it looks that the IDE behaved correctly. If you have library XML definition file inside user preferences it means that you did manual changes in the library customizer. So by importing settings from older NB release it just took all your settings (including customized library) and imported it into the new IDE version. But it can't know what in the XML definition should stay and what not. It has bundled updated library but since the IDE has customized version of the library, it uses that definition. So you can update your customized library (via Tools->Libraries) to use newer Spring library JARs or delete your "spring-framework300.xml" from the userdir and use so the default IDE's definition.