File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes sun.tools.javac.Main has been deprecated. error: Can't write: ???.class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "sun.tools.javac.Main has been deprecated. error: Can Watch "sun.tools.javac.Main has been deprecated. error: Can New topic
Author

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

Milind Deshpande
Greenhorn

Joined: Oct 10, 2004
Posts: 3
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

Joined: Oct 10, 2004
Posts: 3
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'/>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sun.tools.javac.Main has been deprecated. error: Can't write: ???.class
 
Similar Threads
JasperException... Error Can't Write...
JasperException - Error Can't Write....
sun.tools.javac.Main has been deprecated. error: Can't write: ???.class
Jasper Exception = error: Can't write class....
Server problem (JasperException) Error Can't Write