Problems with Java Sample
Aliadne Goes
aliadne.goes at gmail.com
Thu Dec 7 11:59:52 EST 2006
Hello
I am installing the
javaviewersample-1.1.zip<https://mapguide.osgeo.org/files/documents/12/58/javaviewersample.zip>
with MapGuide Open Source 1.1.0 Release Candidate 1. I try to execute the
sample with the URL:
http://localhost:8008/mapguide/javaviewersample/ajaxtiledviewersample.jspand
It happens the follow error:
*type* Exception report
*message*
*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*
*exception*
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 22 in the jsp file:
/javaviewersample/utilityfunctions.jsp
Generated servlet error:
Type mismatch: cannot convert from MgLayerBase to MgLayer
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Do you Know this error e Why this hapeens?
regards,
Aliadne.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061207/2ed7b4bb/attachment.html
More information about the Mapguide-users
mailing list