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
2 responses so far ↓
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
Leave a Comment