jeudi 22 mai 2014

Créer un nouveau package java dans eclipse (en dehors de package par défaut), mais ne pouvez pas utiliser la classe de bibliothèque externe dans les fichiers dans ce nouveau dossier - Stack Overflow


I create a new java package in eclipse (apart from default package), but can not use the class from external library in the files in this new folder?


So it basically means a new folder in the src folder. All the java files in this new folder can not use external libraries which I have no problem to use in files from src.




Have you tried Ctrl+Shift+o? If that does not work, type in the path yourself?
If that doesn't work then post a screenshot of the package hierarchy, lots more people would be able to help you from there.



I create a new java package in eclipse (apart from default package), but can not use the class from external library in the files in this new folder?


So it basically means a new folder in the src folder. All the java files in this new folder can not use external libraries which I have no problem to use in files from src.



Have you tried Ctrl+Shift+o? If that does not work, type in the path yourself?
If that doesn't work then post a screenshot of the package hierarchy, lots more people would be able to help you from there.


0 commentaires:

Enregistrer un commentaire