When I select the Make Project item from the Build menu, IDEA 4.5 displays an error message similar to the following for each JAR file in my project:
Error: Error copying 'C:\bea\weblogic81\server\lib\weblogic.jar' to 'C:\bea\user_projects\domains\kaweb-2\WEB-INF\lib'. Destination is a directory.
When I first deployed the project (by executing the Make Project command), IDEA appeared to execute correctly. But when I tried to start the application server, it stated that it could not load one of my project's classes. When I looked for my application's /WEB-INF/lib directory, I fould that IDEA had created a file, not a directory, named "lib". I deleted this file and created the directory /WEB-INF/lib by hand. I then re-executed the Make Project command and got the error message listed above.
How do I fix this problem? I didn't experience this problem when using IDEA 4.0.3, but I do when using IDEA 4.5.
Thanks for your help.