This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes JSTL lib Not Recognized on Deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "JSTL lib Not Recognized on Deployment" Watch "JSTL lib Not Recognized on Deployment" New topic
Author

JSTL lib Not Recognized on Deployment

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 948
I got the error below when clicking the ">" (Run) button (in Intellij IDEA 10.5) to run a JSP with this declaration: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>



I added the JSTL 1.1 libraries to the output dialog in Intellij so there are no errors within the IDE. All the tooltip help is available, for example, for the JSTL tags.

Yet, again, when I run the application using the ">" button, it doesn't work with the error above.

What's the trick to get the JSTLs to get exported and run?

Thanks,

mike
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

Dealing with JSPs in an IDE is not the real world. I've moved this to the IDEs forum.

I personably never run out of an IDE, I always run in a separate Tomcat instance.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 948
Bear Bibeault wrote:Dealing with JSPs in an IDE is not the real world. I've moved this to the IDEs forum.

I personably never run out of an IDE, I always run in a separate Tomcat instance.


It's nice to be able to quickly prototype a JSP, Bear using the same tool that you're using to write the JSP. I understand people have different ways of doing things.

The reason for my post, however, was to solve the problem I was having.

The problem turned out to be that I had to do a second manual configuration step in IDEA so that it would know what to do with the libs.

Step 1: Add the JSTL libs

Step 2: Add the libraries to the output Artifacts. (IMHO, step 2 should be implied/automatic)

JetBrains support, however, is immediate and the best I've ever encountered.

--mike
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: JSTL lib Not Recognized on Deployment
 
Similar Threads
Using Standard Tags in JSP
JSTL not executing
Problem with JSTL
Default JSTL URI can't be resolved
The absolute uri problem