Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » import cannot be resolved
import cannot be resolved [message #150554] Sat, 03 December 2005 03:29 Go to next message
Eclipse UserFriend
Originally posted by: faireni.walla.com

hi, i have tried a tutorial on
http://www.laliluna.de/first-hibernate-example-tutorial.html . but the
errors shown in HibernatesessionFactory.java. the errors are 'the import
net cannot be resolved.' the package that i import is
net.sf.hibernate.HibernateException, net.sf.hibernate.Session,
net.sf.hibernate cfg.Configuration. besides that the same error appears on
'import org.apache.log4j.logger' in TestClient.java. where can i import
all these packages?? thanx.
Re: import cannot be resolved [message #150950 is a reply to message #150554] Tue, 06 December 2005 17:51 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
You have to make the packages available to your project. If working in a
Web project you can add the jars to the lib directory and they should
automatically be found. You can also add the jars to your project's path
by changing the project build properties. Right click on your project and
select properties.

Lawrence
Previous Topic:web.xml error
Next Topic:XML validation with noNamespaceSchemaLocation
Goto Forum:
  


Current Time: Fri Apr 26 01:09:22 GMT 2024

Powered by FUDForum. Page generated in 0.02637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top