You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by sgarlick <sg...@gmail.com> on 2013/02/02 04:46:11 UTC

TomEE not picking up taglib

I've the following taglibs in my jsp

<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec"
%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>

In eclipse / tomcat 7 / jboss as 7 these are picked up fine and work as
expected.  When deploying the same project to TomEE 1.5.2-SNAPSHOT I get the
following when hitting the page

org.apache.jasper.JasperException: /WEB-INF/jsp/login.jsp (line: 1, column:
1) The absolute uri: http://www.springframework.org/security/tags cannot be
resolved in either web.xml or the jar files deployed with this application

Has anyone else experienced this?  I'm not sure if/what I should file in the
jira.  Any help or insight would be appreciated.



--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-not-picking-up-taglib-tp4660542.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: TomEE not picking up taglib

Posted by sgarlick <sg...@gmail.com>.
Ok, I grabbed the latest 1.5.2-SNAPSHOT and it's picking up the spring
taglibs now.  I did not need an exclusions.list with the newest snapshot.

Thanks for all the work you guys are doing.



--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-not-picking-up-taglib-tp4660542p4660578.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: TomEE not picking up taglib

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm

commited more or less the same fix, seems fine for me

can you test with a new trunk (deployed tomorrow or built from sources)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/2 sgarlick <sg...@gmail.com>

> Hmm ok, I created conf/exclusions.list and copied content from
> openeejb-core/default.list and removed the "spring-" line.  Tried to deploy
> the app from tomee and same issue.  I then added the exclusions.list to the
> eclipse tomee server config and tried to launch the app from eclipse, same
> exception.
>
> The code I'm deploying is https://bitbucket.org/sgarlick/skeleton/srcwhich
> is just a simple skeleton project.  Please let me know if there's anything
> else I can provide you.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-not-picking-up-taglib-tp4660542p4660545.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: TomEE not picking up taglib

Posted by sgarlick <sg...@gmail.com>.
Hmm ok, I created conf/exclusions.list and copied content from
openeejb-core/default.list and removed the "spring-" line.  Tried to deploy
the app from tomee and same issue.  I then added the exclusions.list to the
eclipse tomee server config and tried to launch the app from eclipse, same
exception.

The code I'm deploying is https://bitbucket.org/sgarlick/skeleton/src which
is just a simple skeleton project.  Please let me know if there's anything
else I can provide you.



--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-not-picking-up-taglib-tp4660542p4660545.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: TomEE not picking up taglib

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

We are working on it. The best way to help is to share a sample with this
issue.

That said maybe check your exclusions.list. spring is excluded by default.
You have ro create a new conf/exclusions.list, copy the default ones
removing spring line.

Ps: if you share a sample we can help you more.
Le 2 févr. 2013 09:34, "sgarlick" <sg...@gmail.com> a écrit :

> I've the following taglibs in my jsp
>
> <%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec"
> %>
> <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
>
> In eclipse / tomcat 7 / jboss as 7 these are picked up fine and work as
> expected.  When deploying the same project to TomEE 1.5.2-SNAPSHOT I get
> the
> following when hitting the page
>
> org.apache.jasper.JasperException: /WEB-INF/jsp/login.jsp (line: 1, column:
> 1) The absolute uri: http://www.springframework.org/security/tags cannot
> be
> resolved in either web.xml or the jar files deployed with this application
>
> Has anyone else experienced this?  I'm not sure if/what I should file in
> the
> jira.  Any help or insight would be appreciated.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-not-picking-up-taglib-tp4660542.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>