Mark Drew (Redux)- cf_etc...

a compendium of railo, cfml, cfeclipse and technology topics

Mark Drew (Redux)- cf_etc...

ColdFusion Webservice gotcha on OS X

September 25, 2008 · 2 Comments

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

Tags: coldfusion · coldspring

2 responses so far ↓

  • 1 Sana // Sep 25, 2008 at 11:28 PM

    Hi Mark

    Cool tip, but (tools.jar should be removed or rename).
    just a small correction :)
  • 2 Mark Drew // Sep 26, 2008 at 10:16 AM

    That is what I meant, move it out of that folder, put it anywhere else or delete it.

Leave a Comment