I am a total java development noob. Thus I don’t know how to work with projects in netbeans. Currently I am trying out memcached client for java.
Now I have created a project. I have downloaded a java memcached client named gwahlin memcached client (can be found here https://github.com/gwhalin/Memcached-Java-Client). Inside it’s folder there’s this folder structure com/meetup/memcached and within it are all the required java files. Now I have to import these files in netbeans.
I tried adding libraries from properties menu of the project. I added this folder, in the libraries within project explorer I can see the folder with the path of this memcached client added. Then when I write import com.meetup.memcached.MemcachedClient; I get error as that file is not found.
I know how to add jar and use it, but what to do in this case? I am totally clueless. Please help me here
go to project explorer. Exapnd your current project and simply paste the whole “com” folder in “src” folder. This import will work.