• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sun.tools.javac.Main has been deprecated

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I've changed from Tomcat 3.1 tomcat 4.0 and from JDK1.3 to JDK1.4.
When I change code on my JSP file and recompile I'm gettig this Exception:
"org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated."
Is this due to the change I've done on the Servlet container version and the JDK or due to my code?
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a JDK change, but I would have expected a deprecation warning, rather than an actual failure to compile.
What version of tomcat are you running? I have 4.0.4 working happily on java1.4, and there is a new beta of 4.1 out that I am about to take a look at.
Try downloading and reinstalling tomcat now that Java1.4 is installed, you can download the smaller .LE versions of the programs for Java1.4
-steve
 
reply
    Bookmark Topic Watch Topic
  • New Topic