aspose file tools*
The moose likes JSP and the fly likes org.apache.jasper.JasperException: Unable to compile class for JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "org.apache.jasper.JasperException: Unable to compile class for JSP" Watch "org.apache.jasper.JasperException: Unable to compile class for JSP" New topic
Author

org.apache.jasper.JasperException: Unable to compile class for JSP

James Whillis
Ranch Hand

Joined: Jul 27, 2013
Posts: 35
I need to add custom tag to my project. I use Eclipse Juno (as far as I remember 4.2) and Tomcat 6.0.37
Well It worked normal before but after I added my tags it became to show errors about "cannot find description for jst/core" and etc. I rebuild my classpath (sevlet-api and jsp-api added as external) and put into tomcat\lib jstl-1.2.jar.
But there appeared new error.


I use two tags -
one extends SimpleTagSupport

another - TagSupport

tags.tld is declared like this

I include headers like this in main.jsp file (open in on server by default)

web.xml looks like this

The configuration of folders in on the pictures.

What's the problem?

P.S. on main.jsp <fmt: and <c: is underlined as unsupported tag(which is strange)


[Thumbnail for folders.PNG]

James Whillis
Ranch Hand

Joined: Jul 27, 2013
Posts: 35
Well....Seems problem has solved itself :lol:
william blake
Greenhorn

Joined: Jul 17, 2013
Posts: 9

img tag have no end with</img>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61420
    
  67

william blake wrote:img tag have no end with</img>

Image tags are self-closing.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.apache.jasper.JasperException: Unable to compile class for JSP