Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Package not found error  RSS feed

 
Saket Barve
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Apache AXIS. The installation is done fine, as I view the index.html page and the like.
I wrote a java file and tried to get it working but it gives the following error:
---
package javax.xml.namspace does not exist
import javax.xml.namspace.QName;
^
TestClient.java:18: cannot resolve symbol
---
I included the following jars in my classpath which I set through a script:
--
#!/bin/sh -f
CLASSPATH=$SOAP_JAR:$JAF_JAR:$MAIL_JAR:$XML_PARSERS:$AXIS_JARS:$CLASSPATH
# classpath for client code
CLASSPATH=$CATALINA_BASE/webapps/soap/WEB-INF/classes:$CLASSPATH
export CLASSPATH
--
Please let me know if I am missing to include a JAR file or if there is some other conceptual error.
I await your feedback at the earliest.
Thanks,
Saket
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!