It's not a secret anymore!
The moose likes JSP and the fly likes JasperException... Error Can't Write... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JasperException... Error Can Watch "JasperException... Error Can New topic

JasperException... Error Can't Write...

Mike DeStefano
Ranch Hand

Joined: May 24, 2002
Posts: 36
My problem is this message:
org.apache.jasper.JasperException: Unable to compile class for JSPNote: 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(
at org.apache.jasper.servlet.JspServlet.loadJSP(
This occurs after I have recompiled classes -uploaded them onto my host server - and tried to access the page which they are used. I don't have this problem on my personal computer. Why Do I get this message. After getting the message, if I refresh the browser I get the old version of the jsp, (and probably the older versions of the classes too).
I really am getting desperate.
PLEASE HELP... I thank you in advance for your support and time.
- Mike DeStefano

-Mike Destefano<br />"Sometimes you feel like a nut..."
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
"can't write" sure sounds like a permission problem with the file system
I agree. Here's the link:
subject: JasperException... Error Can't Write...
It's not a secret anymore!