• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSTL lib Not Recognized on Deployment

 
Bartender
Posts: 1971
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 1971
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic