java - org.apache.jasper.JasperException: Unable to compile class for JSP -
after reading of thread related issue problem not resolved.
i have running java project a. created project b , add jar of project a. project b web project , on index.jsp call class project jar. while tried run jsp file got error:
org.apache.jasper.jasperexception: unable compile class jsp: error occurred @ line: 16 in jsp file: /index.jsp common cannot resolved type 13: <link href="css/style.css" rel="stylesheet" type="text/css"/> 14: </head> 15: <% 16: common objcommon= new common(); 17: string combos = objcommon.combovaluereturn(); 18: 19: %> my jsp like:
<%@page import="java.util.properties"%> <%@page import="java.sql.*"%> <%@page import="java.io.*"%> <%@page import="com.au.sql.*"%> <%@page import="com.au.bean.*;" %> <%@ page language="java" contenttype="text/html; charset=iso-8859-1" pageencoding="iso-8859-1"%> <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link href="css/style.css" rel="stylesheet" type="text/css"/> </head> <% common objcommon= new common(); string combos = objcommon.combovaluereturn(); %> i checked there 1 servlet-api.jar in tomcat bin. jar added in web-inf/lib. tried putting build-path jre version same of both project..
please me in this.
thanks in advance.
itin
Comments
Post a Comment