• 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Package not found in import Error inSunOne App Server

Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Am deploying the war file on SUNONE server.
After deploying when i try to access the login page,i get the following error.
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
G:\SunOne\domains\domain1\hipaa\generated\jsp\j2ee-modules\hipaa\_jasper\_jsp\_login_jsp.java:3: Package com.ge.erc.hipaa.util not found in import.
import com.ge.erc.hipaa.util.*;
G:\SunOne\domains\domain1\hipaa\generated\jsp\j2ee-modules\hipaa\_jasper\_jsp\_login_jsp.java:4: Package com.ge.erc.hipaa.user not found in import.
import com.ge.erc.hipaa.user.*;
2 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:641)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:501)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:322)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
The login.jsp which contains the import statement is as follows:
<%--<br /> login JSP - this JSP does not have any GUI <br /> This JSP verifies is the user Admin user ? New User ? Existing User and sends user to respective page<br /> check the session<br /> --%>
<%@page import="com.ge.erc.hipaa.util.*" %>
<%@page import="com.ge.erc.hipaa.user.*" %>
<%@page import="org.apache.log4j.Category"%>
Please suggest a soln.
Posts: 6945
Eclipse IDE Debian Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a special forum for SunOne questions where you are more likely to get a sensible answer, so I've moved this message there for you.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic