Solved

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

Posted on 2006-11-16
5
655 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now