?
Solved

JSP Servlet Error: "Cannot be resolved to a type"

Posted on 2006-11-16
5
Medium Priority
?
679 Views
Last Modified: 2010-04-01
Hi,

I'm working on a JSP page (search.jsp) using Tomcat 5.5 on Win XP and am wondering why I got this error:

[Error Message]
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 4 in the jsp file: /search.jsp
Generated servlet error:
Facade cannot be resolved to a type
[/Error Message]


Below is the search.jsp file:
<%@ page import="java.util.*,java.text.*, com.syslore.multicolumn.*" %>
<%
      // Create an mcorrection facade instance.
      Facade facade=new MCFacade();
%>


Below is the API documentation for Facade:
***************************
com.syslore.multicolumn
Interface Facade

All Known Implementing Classes:
    MCFacade
***************************


Below is the API documentation for MCFacade:
***************************
com.syslore.multicolumn
Class MCFacade

java.lang.Object
  |__com.syslore.multicolumn.MCFacade

All Implemented Interfaces:
    Facade
***************************

Why is this happening?  Any idea of how to make the search.jsp file working?

Thanks in advance!
0
Comment
Question by:SWB-Consulting
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 10

Expert Comment

by:jaggernat
ID: 17961261
try this

<%
     // Create an mcorrection facade instance.
     MCFacade facade=new MCFacade();
%>
0
 

Author Comment

by:SWB-Consulting
ID: 17962258
Actually it's working now.

I don't know what I did, but I rearranged the jar files and reinstalled the jdk, etc, and then it worked after  tomcat is restarted.
0
 
LVL 10

Expert Comment

by:jaggernat
ID: 17962296
good
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 18197012
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New style of hardware planning for Microsoft Exchange server.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question