• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Server problem (JasperException) Error Can't Write

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

THX, Dennis
 
His brain is the size of a cherry pit! About the size of this ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!