Hi Guys I am trying to compile the HelloWorldAction.java file under...
C:\Program Files\Apache Tomcat 4.0\webapps\cocoon\WEB-INF\lib\ the compiler gives me unresolve symbol errors for the org.apache.avalon.framework.* and org.apache.cocoon.* classes/packages. now what i did was look for these packages inside the Apache Tomcat 4.0\webapps\cocoon\WEB-INF\lib\*.jar files, eventually I have found all the packages that i need. in the end i have managed to compile the HelloWorldAction. but what i got is an org folder under the \WEB-INF\lib\ folder, containing packages for org-apache-avalon, org-apache-cocoon and org-xml. to illustrate... WEB-INF\lib\ folder | | | -----> org | |--> apache | |--> avalon | |--> cocoon | |---> xml folder Is this alright? ( I think there is something wrong with it ) Why cant the javac see the packages inside the jar files? I have also tried to use the javac -classpath C:\Program Files\Apache Tomcat 4.0\webapps\cocoon\WEB-INF\lib HelloWorldAction.java command. It gives the same error. Notes: -I used the javac command in DOS mode to compile the java file. -JAVA_HOME = C:\jdk1.3.1_03 -CATALINA_HOME = C:\Program Files\Apache Tomcat 4.0 -CLASSPATH=C:\jdk1.3.1_03\lib;C:\Program Files\Apache Tomcat 4.0\webapps\cocoon\WEB-INF\lib -COCOON_HOME=C:\Program Files\Apache Tomcat 4.0\webapps\cocoon PC Configuration -------------------------- Windows 2000 Server Professional Java 2 SDK 1.3.01 Jakarta Tomcat 4.0.4 cocoon-2.0.2 dev Now I have add this line in the main sitemap file (C:\Program Files\Apache Tomcat 4.0\webapps\cocoon\sitemap.xmap) <map:action name="hello-world" src="org.apache.avalon.framework.test.HelloWorldAction"/> is this correct? Thanks in advance... --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>