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?
>
> -- Travis Low
> [EMAIL PROTECTED]
> 1-301-592-6305 (direct)
>
> || StayConnect
> || 10750 Columbia Pike, Silver Spring MD 20901
> || 1-888-304-7829 (toll free) 1-301-592-6304 (fax)
> || http://www.stayconnect.com
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]