PDA

View Full Version : Class Not Found on Hello.lzx


joemcm87
10-08-2004, 04:40 AM
I installed Laszlo - but when opening the Hello.lzx file I get the following error - I have both Java 1.4.2 and 1.5 installed, but the JAVA_HOME is pointed at 1.4.2.

java.lang.NoSuchMethodError: org.jdom.input.SAXBuilder.setFactory(Lorg/jdom/input/JDOMFactory;)V
com.laszlosystems.compiler.Parser.read(Parser.java :260)
com.laszlosystems.compiler.Parser.readExpanded(Par ser.java:364)
com.laszlosystems.compiler.Parser.parse(Parser.jav a:448)
com.laszlosystems.compiler.Compiler.compile(Compil er.java:237)
com.laszlosystems.compiler.Compiler.compile(Compil er.java:160)
com.laszlosystems.cm.CompilationManager.compileIte m(CompilationManager.java:706)
com.laszlosystems.cm.CompilationManager.getItem(Co mpilationManager.java:498)
com.laszlosystems.cm.CompilationManager.getLastMod ified(CompilationManager.java:466)
com.laszlosystems.servlets.responders.ResponderCom pile.getLastModified(ResponderCompile.java:399)
com.laszlosystems.servlets.responders.ResponderCom pile.respondImpl(ResponderCompile.java:185)
com.laszlosystems.servlets.responders.Responder.re spond(Responder.java:220)
com.laszlosystems.servlets.LZServlet._doGet(LZServ let.java:306)
com.laszlosystems.servlets.LZServlet.doGet(LZServl et.java:242)
javax.servlet.http.HttpServlet.service(HttpServlet .java:697)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)

bloch
10-08-2004, 06:43 AM
This sounds like a CLASSPATH problem.

Are you using your own container or the default tomcat one?

And do you have CLASSPATH set? LPS-2.2 needs to get the jdom.jar that comes in the WEB-INF/lib directory of the lps-2.2 webapp.

joemcm87
10-08-2004, 06:49 AM
I had another version of JDOM in my JRE lib/ext directory...once cleared, works fine - thanks!