From: Matthew B. <mat...@co...> - 2005-05-27 11:02:32
|
gxdev Developer wrote: > hi > > checkout a new version of bodington from cvs head. > > Did the build it worked fine. > I had following setup on my build.properties > template compilation on If you had template compilation turned on in your build I'm supprised that Bod is trying to compile templates. Do we still have the timestamp bug when unpacking the WAR (are you using a WAR?). > But when I hit the browser at the following URL : > > http://mywebserver/bodington/site/ > > I now get the following exception throw at me: > > java.lang.NoClassDefFoundError: > com/sun/tools/javac/Main Ok, it looks like your running Tomcat with a JRE rather than a JDK. Do you have multiple copies of java installed? When tomcat starts up normally it logs where it thinks JAVA_HOME is: Using JAVA_HOME: /usr/lib/j2sdk1.4-sun/ Does your tomcat startup look to be using a JDK? > org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java:663) > Is there property that you need to set for bod to make > it work with jdk 1.5??????? Not as far as I know. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |