Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

10 Experts available now in Live!

Get 1:1 Help Now