Help coderanch get a
new server
by contributing to the fundraiser
    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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sun.tools.javac.Main has been deprecated. error: Can't write: ???.class

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,

My application runs fine on the local windows environment but when hosted on the net throws an odd error.

Any bright ideas this time of the day?

org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/GEN/GEN/GEN_GEN_Error_Functions.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/SFA/MSTR/SFA_MSTR_Departments.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/GEN/GEN/GEN_GEN_Combo_Functions.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/GEN/GEN/GEN_GEN_String_Functions.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/GEN/GEN/GEN_GEN_Field_Functions.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/GEN/GEN/GEN_GEN_Database_Functions.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/jdbc/PoolManager.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/jdbc/ConnectionNotAvailableException.class
error: Can't write: /home/virtual/site19/fst/var/www/html/WEB-INF/classes/com/ac/jdbc/ConnectionPool.class
9 errors, 1 warning

Page comes up if I press Ctrl-F5.

I am using Tomcat 4.1.18 in my local environment and the application is hosted on a Tomcat 4.0.6 server. The application runs fine even when run in a local 4.0.6 environment.

I am calling /com/ac/SFA/MSTR/SFA_MSTR_Departments_Create.jsp which contains following lines

<%@ page contentType='text/html' import='java.sql.*, java.util.*, java.io.*'%>

<jsp:useBean id='SFA_MSTR_Departments' scope='page' class='com.ac.SFA.MSTR.SFA_MSTR_Departments'/>

<jsp:useBean id='GEN_GEN_Combo_Functions' scope='page' class='com.ac.GEN.GEN.GEN_GEN_Combo_Functions'/>
<jsp:useBean id='GEN_GEN_String_Functions' scope='page' class='com.ac.GEN.GEN.GEN_GEN_String_Functions'/>
<jsp:useBean id='GEN_GEN_Field_Functions' scope='page' class='com.ac.GEN.GEN.GEN_GEN_Field_Functions'/>
<jsp:useBean id='GEN_GEN_Database_Functions' scope='page' class='com.ac.GEN.GEN.GEN_GEN_Database_Functions'/>

Milind
 
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:
  • Report post to moderator
Milind, please do not cross-post the same question in multiple forums. It wastes peoples time when multiple redundant conversations take place. Please continue this discussion here.
 
Shiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
    Bookmark Topic Watch Topic
  • New Topic