Saturday, 3 January 2015

Importing xml files into java class. Is it possible in that way?



I am wondering if it is possible to import xml file in that way:



import org.hibernate.*;
import org.hibernate.cfg.*;


I have hibernate.cfg.xml in src folder (the same with .java files), but still Netbeans can't find it when I want to import it in the way as I mentioned above.


How should I resolve this problem? Thanks in advance!


No comments:

Post a Comment