This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes package does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "package does not exist" Watch "package does not exist" New topic
Author

package does not exist

Anand Sivathanu
Ranch Hand

Joined: Jun 25, 2010
Posts: 76
I have a folder in WEB-INF/classes
sqljdbc_30.enu.com.microsoft.sqlserver.jdbc

i have import the package
import sqljdbc_30.enu.com.microsoft.sqlserver.jdbc.*;
compiler error saying that

package sqljdbc_30.enu.com.microsoft.sqlserver.jdbc does not exist

how to solve?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

When you compile, is WEB-INF/classes in your CLASSPATH ?


[My Blog]
All roads lead to JavaRanch
Anand Sivathanu
Ranch Hand

Joined: Jun 25, 2010
Posts: 76
No.I have not set.I will set.thanks for your information
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: package does not exist