Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Milind Deshpande
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • 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?

Milind

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
 
Milind Deshpande
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page comes up if I press Ctrl-F5.

BTW 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'/>
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic