• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Urgent Help Jsp Compile error: Can not resolve symbol

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to deploy a web appliction on Weblogic 8.1 Server which already runs on Resin Server.
On deploying I get the following errors on the console:
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver__appsdir_portal_dir_portal\jsp_servlet\__gtbaseframe.java:17: '.' expected
probably occurred due to an error in /gtBaseframe.jsp line 2:
<%@ page import="ClientSessionInfo" /%>
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver__appsdir_portal_dir_portal\jsp_servlet\__gtbaseframe.java:18: '.' expected
probably occurred due to an error in /gtBaseframe.jsp line 3:
<%@ page import="GenetrialsPortal" /%>
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver__appsdir_portal_dir_portal\jsp_servlet\__gtbaseframe.java:134: cannot resolve symbol
probably occurred due to an error in /gtBaseframe.jsp line 6:
ClientSessionInfo gtSession = (ClientSessionInfo) session.getValue ( GenetrialsPortal.SESSION_VALUE_CLIENT_INFO );
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver__appsdir_portal_dir_portal\jsp_servlet\__gtbaseframe.java:134: cannot resolve symbol
probably occurred due to an error in /gtBaseframe.jsp line 6:
ClientSessionInfo gtSession = (ClientSessionInfo) session.getValue ( GenetrialsPortal.SESSION_VALUE_CLIENT_INFO );


From the above error (Can not resolve symbol), it seems that the jsp is not getting the class file from WEB-INF/classes.

Can some one Please guide me how to resolve this error?
 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like your classes are in the base (nameless) package. I ran into problems using classes that were not in a package when running under Tomcat. You may be experiencing the same problem under BEA. It would suck to have to put all your classes into a package and recompile, but one might ask why your classes were not already in a package.
Hope this helps.
 
Look ma! I'm selling my stuff!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic