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.

Bug 157980

Summary: Refactor/move class in a Java Web Project doesn't change the class name in the Spring appcontext XML file.
Product: javaee Reporter: gyszalai <gyszalai>
Component: SpringAssignee: Martin Fousek <marfous>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: markiewb, pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173299    

Description gyszalai 2009-02-05 10:31:19 UTC
I created a Java Web Project with existing sources. Later on I added the Spring framework to the project libs and
created a spring application context XML file under WEB-INF. I configured a few classes in this context file, then moved
one of the classes from one package to another with refactor->move, but the class attribute in the Spring config didn't
reflect the new classname.
Comment 1 Jiri Prox 2009-02-05 10:39:02 UTC
This must be fixed  in the module providing spring framework
Comment 2 Petr Jiricka 2009-09-30 12:34:46 UTC
I don't think there is any code that handles this. This is really an enhancement request.
Comment 3 Petr Jiricka 2009-09-30 12:35:29 UTC
*** Issue 85079 has been marked as a duplicate of this issue. ***
Comment 4 Martin Balin 2016-07-07 08:55:19 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 5 markiewb 2016-07-10 21:11:38 UTC
Should work, if you have configured the spring configuration in the project properties.