As I was getting my presentation on ColdSpring ready for A Wee Dram of Scotch, I come across the following problem, that none of my webservices would work! I started getting the following error:
coldfusion.jsp.JavaCompiler$UnknownCompiler: Unable to run the internal Java compiler: java.lang.NoClassDefFoundError: javax/tools/StandardJavaFileManager.
Following a bunch of blogs and thanks to Peter Freitag, the answer was simple, move the tools.jar from your <ColdFusion Install>/lib (or <JRUN Install>servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib ) and restart the server. Bam... back to webservices working fine again.
I am just putting this either to help other people, or to help me next time I forget about this








11 responses
1 Sana // Sep 25, 2008 at 11:28 PM
Cool tip, but (tools.jar should be removed or rename).
just a small correction :)
2 Mark Drew // Sep 26, 2008 at 10:16 AM
3 tenteeGraiday // Jul 20, 2011 at 4:44 PM
4 leababbalolum // Jul 20, 2011 at 6:50 PM
5 caurnGrictGot // Jul 21, 2011 at 10:26 PM
6 Breadelex // Jul 22, 2011 at 5:38 AM
7 Empasywaymn // Jul 23, 2011 at 11:57 AM
8 solamyday // Jul 23, 2011 at 10:20 PM
9 WritoroVeit // Jul 24, 2011 at 5:12 PM
10 HelverseWrose // Jul 25, 2011 at 10:46 PM
11 Zoollassusype // Jul 26, 2011 at 10:45 AM