On Wed, 5 Mar 2008 11:25:00 +0800 "komang adi" untukta@gmail.com wrote:
i have installedd NAV 3.3.2 on Ubuntu 7.10, and when i accessed to Network Explorer, there is an error like this :
[snip]
java.lang.NoClassDefFoundError: no/ntnu/nav/ConfigParser/ConfigParser navAdmin.service(navAdmin.java:64) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Your Tomcat doesn't have the correct CLASSPATH, hence it doesn't know where to find NAV's Java libraries.
Assuming you installed NAV from source, the easiest way to fix this is to create some symlinks to the needed libraries in Tomcat's library directory:
cd /var/lib/tomcat5.5/shared/lib ln -s /usr/local/nav/lib/java/ConfigParser.jar . ln -s /usr/local/nav/lib/java/Database.jar . ln -s /usr/local/nav/lib/java/Util.jar . ln -s /usr/share/java/postgresql.jar