[mapguide-dev] Problems with Java Sample

Tom Fukushima tom.fukushima at autodesk.com
Thu Dec 7 13:30:35 EST 2006


The link from the downloads page was pointing to the old samples.  The
download page has been updated to point to the 1.1 samples now.
 
Sorry about that, my fault.
 
Tom

  _____  

From: Aliadne Goes [mailto:aliadne.goes at gmail.com] 
Sent: Thursday, December 07, 2006 10:00 AM
To: dev at mapguide.osgeo.org; users at mapguide.osgeo.org
Subject: [mapguide-dev] Problems with Java Sample


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.js
p and 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(DefaultErrorHa
ndler.java:84)
	
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va: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.ja
va:563)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va: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/dfbc17f9/attachment.html


More information about the Mapguide_users mailing list