From: Lane S. <la...@op...> - 2004-02-23 23:12:18
|
Tim, Now that you have read this thread, can you recompile with 2.0 classic? let me know. -Lane Tim Pizey wrote: >On Sunday 15 February 2004 8:40 pm, Eric Ridge wrote: > > >>It's been a long time coming, but it is finally here. We are pleased >>to announce that WebMacro 2.0b1 has been released! >> >>Please download it (http://www.webmacro.org/DownloadWebMacro) and help >>us test! >> >> >The Melati Admin system works, unrecompiled, with webmacro-minimal-2.0b1.jar >however with webmacro-classic-2.0b1.jar produces the following > >10:12:23 AM broker NOTICE starting org.webmacro.Broker: >WebMacro.properties >10:12:23 AM broker NOTICE Loaded settings from WebMacro.defaults, >WebMacro.properties, (System Properties) >10:12:23 AM wm NOTICE new WebMacro(WebMacro.properties) v2.0b1 >java.lang.NoSuchMethodError: org.webmacro.servlet.WebContext: method ><init>(Lorg/webmacro/Broker;)V not found > at >org.apache.jserv.JServServletManager.load_init(JServServletManager.java:589) > at >org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:498) > at >org.apache.jserv.JServConnection.processRequest(JServConnection.java:269) > at org.apache.jserv.JServConnection.run(JServConnection.java:188) > at java.lang.Thread.run(Thread.java:534) > > >In fact both jars break org.melati.test.WebmacroStandalone > > > >>Thanks for your support and time. >> >>eric >> >>- Some small signature changes to methods require you to recompile >> source code which imports files from webmacro.jar >> >> > >Tried to recompile and got this: > > > [javac] >/usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java:72: >cannot resolve symbol > [javac] symbol : constructor WebContext (org.webmacro.Broker) > [javac] location: class org.webmacro.servlet.WebContext > [javac] _webContext = new WebContext(_wm.getBroker()); > [javac] ^ > [javac] >/usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java:87: >cannot resolve symbol > [javac] symbol : method destroy () > [javac] location: interface org.webmacro.WebMacro > [javac] _wm.destroy(); > [javac] ^ > [javac] >/usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java:126: >cannot resolve symbol > [javac] symbol : method newInstance >(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) > [javac] location: class org.webmacro.servlet.WebContext > [javac] WebContext c = _webContext.newInstance(req,resp); > [javac] ^ > [javac] >/usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java:151: >cannot resolve symbol > [javac] symbol : method write >(org.webmacro.FastWriter,org.webmacro.servlet.WebContext) > [javac] location: interface org.webmacro.Template > [javac] t.write(fw, c); > [javac] ^ > [javac] >/usr/local/packages/dist/melati/src/org/melati/test/WebmacroMelatiServletTest.java:92: >cannot resolve symbol > [javac] symbol : method write >(org.webmacro.FastWriter,org.webmacro.Context) > [javac] location: interface org.webmacro.Template > [javac] template.write(fmw.getPeer(), context2); > [javac] ^ > [javac] >/usr/local/packages/dist/melati/src/org/melati/template/webmacro/WebmacroTemplate.java:79: >cannot resolve symbol > [javac] symbol : method write >(org.webmacro.FastWriter,org.webmacro.servlet.WebContext) > [javac] location: interface org.webmacro.Template > [javac] template.write(fw, >(WebContext)templateContext.getContext()); > [javac] ^ > [javac] >/usr/local/packages/dist/melati/src/org/melati/template/webmacro/WebmacroTemplateEngine.java:91: >cannot resolve symbol > [javac] symbol : constructor WebContext (org.webmacro.Broker) > [javac] location: class org.webmacro.servlet.WebContext > [javac] _webContext = new WebContext(wm.getBroker()); > [javac] ^ > [javac] >/usr/local/packages/dist/melati/src/org/melati/template/webmacro/WebmacroTemplateEngine.java:105: >cannot resolve symbol > [javac] symbol : method newInstance >(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) > [javac] location: class org.webmacro.servlet.WebContext > [javac] WebContext wc = _webContext.newInstance(melati.getRequest(), > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -deprecation for details. > [javac] 8 errors > >BUILD FAILED > >So I guess Melati will be sticking with 1.1 > >yours >Tim Pizey > > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id56&alloc_id438&op=click >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > -- Lane Sharman For Protection from SPAM and Virus, Extend to the Network Your Perimeter of Defense: http://www.opendoors.com 858-755-2868 |