[ 
http://www.stripesframework.org/jira/browse/STS-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12286#comment-12286
 ] 

Nikolaos commented on STS-824:
------------------------------

Laurent,

Unfortunately what you suggest about placing the .TLD files at the URL location 
referenced is not how things work.  In fact, if they did work that way then the 
URI would have to change every time a new version was released otherwise how 
could you maintain any support for previous versions.

In fact, the URI is really there for name space reasons only and not to 
actually download a .TLD from :-)

Now, I am not totally familiar with GAE... so I assume there is a web.xml file. 
 Correct?  If so what version of the Servlet Spec does the web.xml file 
reference at the top?

If the version is >= 2.3 then things happen automatically i.e. the .TLD files 
need to be in a JAR under /META-INF folder and that JAR needs to be within 
/WEB-INF/lib.  I checked the Stripes 1.5.6 jar and indeed the 2 .TLD files are 
there.

If the version is < 2.3 then you may need to help the web container find the 
.TLD files by adding some XML to the web.xml.

I have also seen a similar issue with Eclipse once upon a time but after 
restarting Eclipse the problem went away.  Also undeploying your webapp, 
restarted your web container, and re-deploying might also do the trick.

Check out this post that pertains to Struts but its the same idea:
http://www.mkyong.com/struts/the-absolute-uri-httpstruts-apache-orgtags-bean-cannot-be-resolved-in-either-web-xml-or-the-jar-files-deployed-with-this-application/

And here is someone else with the same type of issue as you:
http://stackoverflow.com/questions/4909736/jstl-problem-jasperexception-uri-not-found

If this resolves your issue then please let us know so that the issue can be 
closed.

ASIDE:  A little Googling could save you a lot of wasted time!

HTH,

--Nikolaos

> Stripes examples cannot be deployed on GAE
> ------------------------------------------
>
>                 Key: STS-824
>                 URL: http://www.stripesframework.org/jira/browse/STS-824
>             Project: Stripes
>          Issue Type: Task
>          Components: Examples
>    Affects Versions: Release 1.5.6
>            Reporter: Laurent Pellegrino
>            Priority: Blocker
>              Labels: examples, stripes-dynattr.tld, stripes.tld
>
> All the stripes examples that refer to the following URLs cannot be deployed 
> on GAE:
> - http://stripes.sourceforge.net/stripes.tld 
> - http://stripes.sourceforge.net/stripes-dynattr.tld
> Here is the exception I got:
> Exception in thread "main" org.apache.jasper.JasperException: The absolute 
> uri: http://stripes.sourceforge.net/stripes.tld cannot be resolved in either 
> web.xml or the jar files deployed with this application
> The problem is due to the fact that the URLs cannot be resolved. Can you 
> restore these files and keep them up to date (also for backwards 
> compatibilities)?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to