• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL lib Not Recognized on Deployment

 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic