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.
In Spring web project: 1)Create a package with any class 2)Build project 3)Delete package 4)Clear project 5)Build project again The deleted package will be present in the build dir, leading to strange errors during deployment. The reason is that deleted code is stored in cache here: C:\Users\user\.netbeans\7.0\var\cache\index\s909\java\14\classes\com\company... Anoter description: http://forums.netbeans.org/ptopic33816.html
P2 to get it evaluated rather earlier than late. Feel free to downgrade to P3 after evaluation. Thx.
What exactly is the error message when the deployment fails? The error I see in at the given URL is more probably related to case-sensitive rename on case-insensitive filesystem, which has been fixed for 7.0.1 as bug #198565 - could you please try NB7.0.1 (if the same userdir is used, the cache will not fix automatically. Deleting "C:\Users\user\.netbeans\7.0\var\cache\index\s909" while the IDE does not run will force cache recreation on next startup)? Keeping already deleted packages is already filled as bug #167164. Thanks.
(In reply to comment #2) > What exactly is the error message when the deployment fails? It depends only on deleted class (some custom exception in constructor of @Repository-annotated class for example). > could you please try NB7.0.1 (if the same userdir is used, the cache will not > fix automatically. Deleting "C:\Users\user\.netbeans\7.0\var\cache\index\s909" > while the IDE does not run will force cache recreation on next startup)? I did it and thought that it helps, but now I cant reproduce error so I am not sure. > Keeping already deleted packages is already filled as bug #167164. Yes, this is the same issue. Thank you!
(In reply to comment #3) > (In reply to comment #2) > > What exactly is the error message when the deployment fails? > It depends only on deleted class (some custom exception in constructor of > @Repository-annotated class for example). Sorry, but this is not very specific, and I cannot determine whether this is a duplicate of bug #198565, bug #167164 or some other bug/problem. > > > could you please try NB7.0.1 (if the same userdir is used, the cache will not > > fix automatically. Deleting "C:\Users\user\.netbeans\7.0\var\cache\index\s909" > > while the IDE does not run will force cache recreation on next startup)? > I did it and thought that it helps, but now I cant reproduce error so I am not > sure. > > > Keeping already deleted packages is already filled as bug #167164. > Yes, this is the same issue.] Sorry, but I have never heard that bug #167164 would cause deployment problems, and the problem described on the linked page: http://forums.netbeans.org/ptopic33816.html is almost surely the same as in bug #198565. > > Thank you!
*** This bug has been marked as a duplicate of bug 198565 ***