Hi,
I am trying to deploy the WAR files generated from the sample files in
Tuscany 0.91 using Tomcat 5.5 but there is a common error which I am facing.
Here I was trying to deploy the *calculator-webapp* in "
apache-tuscany-sca-0.91-incubating\tuscany-sca-0.91-incubating\samples\calculator-webapp"
the following error occured
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 24 in the jsp file: /calc.jsp
Generated servlet error:
Type mismatch: cannot convert from Object to CalculatorService
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:397)
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:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Any help in this regard is highly appreciated.
Thanks & Regards,
Ashwini Kumar