User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 392,092 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,897 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 919 | Replies: 2
Reply
Join Date: Oct 2007
Posts: 6
Reputation: priyapratheep is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
priyapratheep priyapratheep is offline Offline
Newbie Poster

problem in importing package

  #1  
Oct 25th, 2007
Hi friends,

I am new bie to programming.This is my first project.so the tecnical terms i am not familier.

I am doing one small project with Eclipse Europa,jsp , EJB. with XDoclet, weblogic server

I first created all my jsp files as one project.Then i created one enterprise application project with XDocklet , after that i imported all the jsp files using import option in eclipse.

I imported EJB pakcges into jsp and created session
   HeadHome home = null;
   Head remote =null;

at development time i am not getting any problem.after deployment when i try to run the jsp files i am getting error of

Compilation of 'C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java' failed:
--------------------------------------------------------------------------------
 C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:20: package order.headsess does not exist
probably occurred due to an error in /jspPages/testing.jsp line 8:
<%@page import = "order.headsess.*" %>

C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:51: cannot resolve symbol
probably occurred due to an error in /jspPages/testing.jsp line 21:
HeadHome home = null;

C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:52: cannot resolve symbol
probably occurred due to an error in /jspPages/testing.jsp line 22:
Head remote =null;

C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:226: cannot resolve symbol
probably occurred due to an error in /jspPages/testing.jsp line 96:
home =HeadUtil.getHome(env);


--------------------------------------------------------------------------------
Full compiler error(s):
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:20: package order.headsess does not exist
import order.headsess.*; //[ /jspPages/testing.jsp; Line: 8]
^
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:51: cannot resolve symbol
symbol  : class HeadHome 
location: class jsp_servlet._jsppages.__testing
  HeadHome home = null; //[ /jspPages/testing.jsp; Line: 21]
  ^
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:52: cannot resolve symbol
symbol  : class Head 
location: class jsp_servlet._jsppages.__testing
  Head remote =null; //[ /jspPages/testing.jsp; Line: 22]
  ^
C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:226: cannot resolve symbol
symbol  : variable HeadUtil 
location: class jsp_servlet._jsppages.__testing
        home =HeadUtil.getHome(env); //[ /jspPages/testing.jsp; Line: 96]
              ^
4 errors


--------------------------------------------------------------------------------
Fri Oct 26 01:40:14 GMT+08:00 2007 


pls help me to sort out my prob
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2007
Posts: 74
Reputation: lookof2day is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 8
lookof2day lookof2day is offline Offline
Junior Poster in Training

Re: problem in importing package

  #2  
Oct 30th, 2007
Are you still facing problem. Send your directory structure
Reply With Quote  
Join Date: Oct 2007
Posts: 6
Reputation: priyapratheep is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
priyapratheep priyapratheep is offline Offline
Newbie Poster

Re: problem in importing package

  #3  
Oct 30th, 2007
Originally Posted by lookof2day View Post
Are you still facing problem. Send your directory structure

Thank you for your replay...

The problem is solved.Problem is due to the reference in j2ee Reference settings

thank you

Priya
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JSP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 12:42 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC