Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

jsp compilation failed

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i have the following tag included in my jsp file



this woks fine in my tomcat server but when it is uploaded to weblogic it is throwing an error


Compilation of JSP File XXXXXXXX failed
search.jsp:10:4: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="core"%>



so how can i resolve this?
 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's possible that tomcat has the java standard tag library (JSTL) bundled with it, in it's lib folder, so the web application deployed into tomcat just works. Where weblogic might not have the JSTL library, or possibly a different version and that URL is not finding it.

You can try to add the JSTL .jar files (such as jakarta standard tags http://tomcat.apache.org/taglibs/index.html) into your WEB-INF/lib inside the .war file, so that when this application is deployed into webspehere, it should just find these. This should also still allow it to work when deployed into a tomcat instance.

 
saipraneeth nallapareddy
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for responding to the post
but i have rectified it earlier.
but any way thanks
 
Always look on the bright side of life. At least this ad is really tiny:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic