|
RE: barracuda-example problem - HelloWorld1: msg#00010java.enhydra.general
Hi, In previous releases of Enhydra, one of the functions of the configure scripts had been to include all jars from Enhydra lib directory into the system classpath. Due to the Windows 2000 limited size of command line, this has been changed since release 5.0, so only the necessary jars are included. Thus, to compile the Barracuda HelloWorld examples, you have to include barracuda-core.jar into your system classpath manually. Dragan Radakovic Together Novi Sad Serbia -----Original Message----- From: enhydra-admin@xxxxxxxxxxx [mailto:enhydra-admin@xxxxxxxxxxx]On Behalf Of damar@xxxxxxxxxxxxxx Sent: Friday, March 07, 2003 10:13 AM To: enhydra@xxxxxxxxxxx Subject: Enhydra: barracuda-example problem - HelloWorld1 Hi, I followed complete installation instruction to run HelloWorld1 in Enhydra5.0, but on running ant, I got the following error message: compile: [javac] Compiling 3 source files to /home/damar/barr3/barr3/classes [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:10: package org.enhydra.barracuda.core.comp does not exist [javac] import org.enhydra.barracuda.core.comp.*; [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:11: package org.enhydra.barracuda.core.comp.helper does not exist [javac] import org.enhydra.barracuda.core.comp.helper.*; [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:18: cannot resolve symbol [javac] symbol : class ComponentGateway [javac] location: class HelloWorld1 [javac] public class HelloWorld1 extends ComponentGateway { [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:27: cannot resolve symbol [javac] symbol : class BComponent [javac] location: class HelloWorld1 [javac] public Document handleDefault (BComponent root, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) { [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:27: cannot resolve symbol [javac] symbol : class ViewContext [javac] location: class HelloWorld1 [javac] public Document handleDefault (BComponent root, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) { [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:51: cannot resolve symbol [javac] symbol : class AbstractTemplateModel [javac] location: class HelloWorld1.HelloWorldModel [javac] class HelloWorldModel extends AbstractTemplateModel { [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:29: cannot resolve symbol [javac] symbol : method getClass () [javac] location: class HelloWorld1 [javac] if (xmlcFactory==null) xmlcFactory = new XMLCStdFactory(this.getClass().getClassLoader(), new StreamXMLCLogger()); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:35: cannot resolve symbol [javac] symbol : class TemplateView [javac] location: class HelloWorld1 [javac] TemplateView tv = new DefaultTemplateView(node); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:35: cannot resolve symbol [javac] symbol : class DefaultTemplateView [javac] location: class HelloWorld1 [javac] TemplateView tv = new DefaultTemplateView(node); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:36: cannot resolve symbol [javac] symbol : class TemplateModel [javac] location: class HelloWorld1 [javac] TemplateModel tm = new HelloWorldModel(); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:37: cannot resolve symbol [javac] symbol : class BTemplate [javac] location: class HelloWorld1 [javac] BTemplate templateComp = new BTemplate(tm); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:37: cannot resolve symbol [javac] symbol : class BTemplate [javac] location: class HelloWorld1 [javac] BTemplate templateComp = new BTemplate(tm); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:59: cannot resolve symbol [javac] symbol : class ViewContext [javac] location: class HelloWorld1.HelloWorldModel [javac] ViewContext vc = getViewContext(); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:59: cannot resolve symbol [javac] symbol : method getViewContext () [javac] location: class HelloWorld1.HelloWorldModel [javac] ViewContext vc = getViewContext(); [javac] ^ [javac] /home/damar/barr3/barr3/src/barr3/presentation/HelloWorld1.java:63: cannot resolve symbol [javac] symbol : variable super [javac] location: class HelloWorld1.HelloWorldModel [javac] else return super.getItem(key); [javac] ^ [javac] 15 errors BUILD FAILED file:/home/damar/barr3/barr3/build.xml:165: Compile failed; see the compiler error output for details. I tried barracoda mailling list too, but I got no clue. Apart from placing all jar files in the locations as instructed in the installtion file, I have put barracoda.jar, barracoda-core.jar and log4j-1.2.6.jar files in my CLASSPATH. Any pointers would be highly appreciated. Damar _______________________________________________ Enhydra mailing list Enhydra@xxxxxxxxxxx http://www.enhydra.org/mailman/listinfo.cgi/enhydra
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Xmlc: xHTML problem again, Petr Stehlik |
|---|---|
| Next by Date: | RE: CVS barracuda library howto?, Dragan Radakovic |
| Previous by Thread: | xHTML problem again, Petr Stehlik |
| Next by Thread: | RE: CVS barracuda library howto?, Dragan Radakovic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |