Sep 25 2008

ColdFusion Webservice gotcha on OS X

Posted by Mark Drew at 11:47 AM
2 comments
- Categories: 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

Sana

Sana wrote on 09/25/08 6:28 PM

Hi Mark

Cool tip, but (tools.jar should be removed or rename).
just a small correction :)
Mark Drew

Mark Drew wrote on 09/26/08 5:16 AM

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

Write your comment



(it will not be displayed)







Search Archives

Categories

coldfusion cfeclipse personal apple cfconferences webdev model-glue blogging ukcfug cfunited coldspring adobe scotch on the rocks presentations cfobjective lost reactor jobs flex eclipse ajax model-glue frameworks max reference google podcasting fusebox ask md spam railo eventvalidation donations tattoo snipex music microsoft fusiondebug flying blue dragon air wishlist tips rant open bluedragon java graphic novels funny eventguard derby blog aptana apple xml webservices transfer tashr subversion spry regex quack pownce podcast ooops mvc metrics jquery itunes hosting groovy gadgets flash firefox doh! directing development coldfusioncamp codeshare cfug cfonwheels cfdevcon apollo

Monthly Archives