aspose file tools
The moose likes Other Java Products and Servers and the fly likes Server problem (JasperException) Error Can't Write Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply Bookmark "Server problem (JasperException) Error Can Watch "Server problem (JasperException) Error Can New topic
Author

Server problem (JasperException) Error Can't Write

Mike DeStefano
Ranch Hand

Joined: May 24, 2002
Posts: 36
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..."
Dennis Meyer
Greenhorn

Joined: Sep 05, 2003
Posts: 16
Hi,

I got the same behaviour in the same scenario. If you did find a solution, please let me know!

THX, Dennis
 
 
subject: Server problem (JasperException) Error Can't Write
 
Similar Threads
JasperException - Error Can't Write....
Jasper Exception = error: Can't write class....
JasperException... Error Can't Write...
sun.tools.javac.Main has been deprecated. error: Can't write: ???.class
sun.tools.javac.Main has been deprecated. error: Can't write: ???.class