From: gxdev D. <gx...@ya...> - 2005-05-27 10:48:45
|
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 shib disabled set build.templates.xmlwarn=yes Did the setup it worked fine. 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 org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java:663) org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate.java:746) org.bodington.servlet.template.XmlTemplate.getProcessor(XmlTemplate.java:412) org.bodington.servlet.template.Template.getXmlTemplateProcessor(Template.java:357) org.bodington.servlet.BuildingServlet.doProcessing(BuildingServlet.java:570) org.bodington.servlet.BuildingServlet.doGet(BuildingServlet.java:423) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) It seams it can't find the java compiler. I am using: Sun jdk 1.5 Tomcat 5.5.9 Ant version 1.6.2 Is there property that you need to set for bod to make it work with jdk 1.5??????? I thought we got bod sorted for jdk 1.5, or am i wrong? Some good work was done to get it sort. Thanks Atif. --- Colin Tatham <col...@co...> wrote: > > Did you get this problem sorted Atif? > > Colin > > ____________________________________ > Colin Tatham > VLE Team > Oxford University Computing Services > www.oucs.ox.ac.uk/ltg/vle/ > www.bodington.org > > > > > -----Original Message----- > > From: > bod...@li... > > > [mailto:bod...@li...]On > Behalf Of > > Matthew Buckett > > Sent: 26 May 2005 17:33 > > To: bod...@li... > > Subject: Re: [Bodington-developers] Bodington bug > > > > > > gxdev Developer wrote: > > > hi > > > > > > I checkout the bod source code from the CVS head > at > > > 3pm. > > > > > > Did a build using ANT everything went fine. > > > Then did a setup using bodington.war everything > went > > > fine. > > > > > > But when I hit the browser at the following URL > : > > > > > > http://mywebserver/bodington/site/ > > > > > > I get the following exception throw at me: > > > > > > java.lang.NoClassDefFoundError > > > > > > > > > org.bodington.servlet.template.XmlTemplate.class$(XmlTemplate.java:96) > > > > This is the line that attempts to setup the Logger > for the > > class which > > has now been removed in HEAD (a few minutes ago). > You could try a CVS > > update and a new build, although my builds worked > fine before > > and after > > removing this line. > > > > > > > > org.bodington.servlet.template.XmlTemplate.compile(XmlTemplate > > .java:630) > > > > This is the line that tries to call the Java > compiler to compile the > > template. Are you running Tomcat with the JDK > rather than the JRE? > > > > One way round this might be to turn template > compilation on in the > > build.properties so that it doesn't happen in the > servlet > > container world. > > > > If you have somewhere (website?) you can put the > WAR you built that I > > can grab it from I'll have a look and see if I can > figure out > > what is wrong. > > > > -- > > +--Matthew > Buckett-----------------------------------------+ > > | VLE Developer, Learning Technologies Group > | > > | Tel: +44 (0) 1865 283660 > http://www.oucs.ox.ac.uk/ | > > +------------Computing Services, University of > Oxford------+ > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - > Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! > directly into your own > > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create > apps using Yahoo! > Search APIs Find out how you can build Yahoo! > directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com |