|
barracuda-example problem - HelloWorld1: msg#00017java.enhydra.general
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Apache 2, Madl Alfred |
|---|---|
| Next by Date: | Enhydra 5.1 Beta, Madl Alfred |
| Previous by Thread: | Apache 2, Madl Alfred |
| Next by Thread: | Enhydra 5.1 Beta, Madl Alfred |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |