Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Class Not Found Error iPlanet web server 6.0--Urgent

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am a newcomer to the users of iPlanet web server 6.0.
I am trying to deploy a bean for which I've placed the classfile (EncryptionObject.class) in the following path:
c:\iPlanet\Servers\https-abcd.in.xyz.com\web-apps\EncryptionObject\WEB-INF\classes\enc

This is the JSP code:
(Angular brackets)jsp:useBean id="encobj" class="enc.EncryptionObject" /(Angular brackets)
(Angular brackets)%
String password=encobj.readFile();
out.println("\""+password+"\"");
%(Angular brackets)




While compiling the JSP page, following error are generated:

Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-abcd.in.xyz.com\config\..\ClassCache\_jsps\_PortalTemplates\_Content\_SetPwd\_ContentTemplate_jsp.java:63: Class enc.EncryptionObject not found. enc.EncryptionObject encobj = null; ^ C:\iPlanet\Servers\https-abcd.in.xyz.com\config\..\ClassCache\_jsps\_PortalTemplates\_Content\_SetPwd\_ContentTemplate_jsp.java:65: Class enc.EncryptionObject not found. encobj= (enc.EncryptionObject) ^ C:\iPlanet\Servers\https-abcd.in.xyz.com\config\..\ClassCache\_jsps\_PortalTemplates\_Content\_SetPwd\_ContentTemplate_jsp.java:69: Class enc.EncryptionObject not found. encobj = (enc.EncryptionObject) Beans.instantiate(this.getClass().getClassLoader(), "enc.EncryptionObject"); ^ C:\iPlanet\Servers\https-abcd.in.xyz.com\config\..\ClassCache\_jsps\_PortalTemplates\_Content\_SetPwd\_ContentTemplate_jsp.java:73: Variable encobj may not have been initialized. pageContext.setAttribute("encobj", encobj, PageContext.PAGE_SCOPE); ^ C:\iPlanet\Servers\https-abcd.in.xyz.com\config\..\ClassCache\_jsps\_PortalTemplates\_Content\_SetPwd\_ContentTemplate_jsp.java:84: Variable encobj may not have been initialized. String password=encobj.readFile(); ^ 5 errors, 1 warning

Please help me out.
Thanx.
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Failed God",

There aren't may rules that have been put into place here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
Bear Bibeault
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might also want to read this.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic