| | |
problem in importing package
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2007
Posts: 6
Reputation:
Solved Threads: 0
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
at development time i am not getting any problem.after deployment when i try to run the jsp files i am getting error of
pls help me to sort out my prob
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
JSP Syntax (Toggle Plain Text)
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
JSP Syntax (Toggle Plain Text)
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
•
•
Join Date: Oct 2009
Posts: 1
Reputation:
Solved Threads: 0
-1
#4 Oct 17th, 2009
•
•
•
•
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
JSP Syntax (Toggle Plain Text)
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
JSP Syntax (Toggle Plain Text)
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
May be you are using a incompatible version of java. Ex if u r using weblogic 8.1 then you should use jdk 1.4 and not java 5. Even if you are using jdk5, you have option to set the "Compiler Complience Level" in eclipse (if u r using eclipse).
0
#5 Oct 17th, 2009
Congratz you just bumped 2 years old thread and added no valuable contribution. Sorry...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Problem using serializable coding (Java)
- Cannot resolve symbol (Java)
- Using a Java Object in a JSP (Java)
- hal.dll missing - just installed new ATI card (Windows NT / 2000 / XP)
- Having trouble with library in dev-c++ (wxWindows) (C++)
- Problem using elements package DrawingWindow (Java)
- problem importing elements package into netbeans 4.0 (Java)
Other Threads in the JSP Forum
- Previous Thread: inserting multiple selection from checkbox in to one column
- Next Thread: FileReader: file not found
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web






