• Post Reply Bookmark Topic Watch Topic
  • New Topic

Package Error Plz Help

 
Akhilesh Yadav
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my Directory Structure

D:\com\brainysoftware\tassie\servlet
D:\com\brainysoftware\tassie\ejb

ejb Directory consist of
BookDetails.java
BookDetailsBean.java
BookDetailsHome.java
Cart.java
CartBean.java
CartHome.java
Search.java
SearchBean.java
SearchHome.java

and Servlet Directory Consist of
AddToCartServlet.java
BookDetailsServlet.java
CheckCartServlet.java
SearchServlet.java

now the problem when ever i try to Complie any of the Servlet files it shows me follwing error

SearchServlet.java:9: package com.brainysoftware.tassie.ejb does not exist
import com.brainysoftware.tassie.ejb.Search;
^
SearchServlet.java:10: package com.brainysoftware.tassie.ejb does not exist
import com.brainysoftware.tassie.ejb.SearchHome;


plz help me out how should i complie it
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume you are compiling from d:\ and not any subdirectories.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!