i created a netbeans standard java project. i wanted to add a folder which had the jars (such as spring.jar, etc.) to the project. right click on project name -> properties -> libraries menu. right hand side add jar/folder option. you can select the folder and add it. However, this does not work correctly. Adding the ENTIRE FOLDER does not work. It creates a default package and puts the jars below it and your source classes cannot see them. You have to go inside the folder you want to include and select all the jars you want included. Then they are displayed correctly and you can expand them in the libraries tab.
No comments:
Post a Comment