Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
method inner class 6 83
Fisheye tool 2 116
some methods private some are not 8 217
how to hide hide popup page refresh second time? 10 141
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 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