This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

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

 
Milind Deshpande
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!