Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple compilation errors  RSS feed

 
Alexi Jones
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I get these errors when I compile my code: "package org.apache.catalina does not exist error", " method getAttribute (java.lang.String)error", and "pakage org.jboss.util.id.does not exist error."
I am using jboss-3.2.2 I am assuming I am getting these errors due to so some jar files not being declared in the classpath, but I have pointed the jar files in my classpath the following way.
SET CLASSPATH=%CLASSPATH%;c:\jdk\lib;c:\jboss-3.2.2\lib;c:\jsdk2.1;c:\apache-ant-1-5.4\lib
I would really appreiciate if somebody could point me in the right direction. Thank you
[ December 02, 2003: Message edited by: Alexi Jones ]
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alexi,
You need to put the actual jar names in the classpath, not just the directories.
 
Alexi Jones
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,
I did that before, but it still gave me the compilation errors.
This is what my classpath has right now.
SET CLASSPATH=%CLASSPATH%;c:\j2sdk1.4.2_02\lib\tools.jar;c:\jboss-3.2.2\lib\jboss-common.jar;c:\apache-ant-1-5.4\lib\ant.jar;c:\j2sdk1.4.2_02\lib\servlet.jar
Thank you
[ December 02, 2003: Message edited by: Alexi Jones ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!