ColdFusion Webservice gotcha on OS X

Posted by Mark Drew on code on September 25, 2008

Tagged under coldfusion,coldspring

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




comments powered by Disqus