Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi, Amaral wrote:
I have triyed to pass a float array to a Visad class from a servlet . When I run the servlet I get exeptions. My servlet uses this code to pass the data object to the Visad class. for (i=0; i<40; i++ {VisadClass.data[0][i] = dd; }I get two blocks of exception messages. Below the first line of each.javax.servlet.ServletException: Invoker service() exception java.lang.NoClassDefFoundError: visad/ScalarMapListener Can some one give a hint? Thanks. Amaral.
This is a classpath error (as Curtis pointed out). You need to put a copy of visad.jar in the directory TOMCAT_HOME/webapps/your_web_app/WEB-INF/lib/visad.jarassuming you're using Tomcat. (Must also do that for every other library you're using.)
You servlets (compiled classes) should go in (...the same...)/WEB-INF/classes/... Cheers, Ugo
visad
archives: