[mapguide-internals] Java configuration help
Jackie Ng
jumpinjackie at gmail.com
Wed Mar 18 07:13:22 EDT 2009
I try to run the java-based AJAX viewer using the latest built installer
(Apache/Tomcat/Java configuration):
http://localhost:8008/mapguide/mapviewerjava/ajaxviewer.jsp?WEBLAYOUT=Library://Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout
and I get this error message below:
-------- ERROR BEGIN -------------------
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NoClassDefFoundError:
org/osgeo/mapguide/MgException
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NoClassDefFoundError: org/osgeo/mapguide/MgException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
java.lang.Class.getConstructor0(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:145)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.14 logs.
------------- ERROR END ------------------
I haven't used the Java configuration in MapGuide before so could anyone
possibly explain what is going on here? I'm pretty sure I've set all the
MapGuide paths correctly. MgException exists in MapGuideApi.jar. What could
I possibly me missing here?
- Jackie
--
View this message in context: http://n2.nabble.com/Java-configuration-help-tp2496527p2496527.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
More information about the mapguide-internals
mailing list