I'm using JDK1.2. My jserv.properties has:
wrapper.bin=/usr/local/java/bin/java
And from the shell:
[travis] ~ $ /usr/local/java/bin/java -version
java version "1.2.2"
Classic VM (build 1.2.2-L, green threads, nojit)
HOWEVER, when I downloaded collections.jar and put it into the
wrapper.classpath,the exception went away. It also goes away if I use
freemarker-jdk1.1.jar instead of freemarker-jdk1.2.jar.
Any idea why?
-- Travis Low
[EMAIL PROTECTED]
1-301-592-6305 (direct)
John McNally wrote:
>
> I will look into whether anything has broken the FreeMarker integration,
> asap. But this looks like a jdk1.1/1.2 issue. Are you sure you are
> compiling and running against the same library version? Make sure the
> jdk1.1 library is not in your compiling classpath, if you are running with a
> java interpreter from jdk1.2.
>
> ----- Original Message -----
> From: Travis Low <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 11, 2000 9:46 AM
> Subject: Can't get Freemarker examples to work
>
> > Has anyone gotten the Freemarker examples to work? I tried browsing
> > to ".../Turbine/screen/BaseFreeMarkerScreen" and got the following
> > error (wraps are mine):
> >
> > java.lang.NoClassDefFoundError:
> > com/sun/java/util/collections/List
> > at
> > org.apache.turbine.services.freemarker.
> > TurbineFreeMarkerService.getContext
> > (TurbineFreeMarkerService.java:169)
> > at org.apache.turbine.modules.screens.
> > BaseFreeMarkerScreen.getContext
> > (BaseFreeMarkerScreen.java:130)
> > at
> > org.apache.turbine.modules.screens.
> > BaseFreeMarkerScreen.doBuild
> > (BaseFreeMarkerScreen.java:97)
> > at org.apache.turbine.modules.
> > Screen.build(Screen.java:88)
> > at org.apache.turbine.modules.
> > ScreenLoader.eval(ScreenLoader.java:117)
> > at org.apache.turbine.modules.
> > layouts.DefaultLayout.doBuild
> > (DefaultLayout.java:96)
> > at org.apache.turbine.modules.
> > Layout.build(Layout.java:81)
> > at org.apache.turbine.modules.
> > LayoutLoader.exec(LayoutLoader.java:111)
> > at org.apache.turbine.modules.pages.
> > DefaultPage.doBuild(DefaultPage.java:134)
> > at org.apache.turbine.modules.
> > Page.build(Page.java:81)
> > at org.apache.turbine.modules.
> > PageLoader.exec(PageLoader.java:111)
> > at Turbine.doGet(Turbine.java:319)
> > at javax.servlet.http.HttpServlet.
> > service(HttpServlet.java:499)
> > at javax.servlet.http.HttpServlet.service
> > (HttpServlet.java:588)
> > at org.apache.jserv.JServConnection.
> > processRequest(JServConnection.java:317)
> > at org.apache.jserv.JServConnection.run
> > (JServConnection.java:188)
> > at java.lang.Thread.run(Thread.java:475)
> >
> > java.lang.NoClassDefFoundError: com/sun/java/util/collections/List
> >
> > And the offending line of code seems to be:
> >
> > modelRoot.put("link", new DynamicURIModel(data));
> >
> > Any ideas?
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]