• 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

Jasper Exception = error: Can't write class....

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK... This is very weird in my oppinion. 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 which was there. None of any changes take effect, and the new jsp is 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
 
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!