Server problem (JasperException) Error Can't Write
Joined: May 24, 2002
OK... This is very weird in my opinion. I loaded my application (which works on my computer) to the hosting server. When I try to bring up my pages I get an error message as follows: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/util/MyMail.class error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/util/JavaMail.class error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/MailForm.class error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/Security.class error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/Customer.class error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/CustomerProfile.class error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/Registration.class 7 errors, 1 warning at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) etc...
After I refresh the page, I get the old page (old classes) which were there. None of any changes take effect, and the new jsp and classes are ignored. All classes compile perfectly, and everything is fine and dandy in my own pc environment. But I am getting these freakish messages everywhere, and have't a clue why. I am importing everything I am using (have to be, or it wouldn't work on my pc). PLEASE HELP... I thank you in advance for your support and time. - Mike DeStefano
-Mike Destefano<br />"Sometimes you feel like a nut..."
Joined: Sep 05, 2003
I got the same behaviour in the same scenario. If you did find a solution, please let me know!
subject: Server problem (JasperException) Error Can't Write